public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99136] New: ICE in gimplify_expr, at gimplify.c:14854
@ 2021-02-17 18:04 gscfq@t-online.de
  2021-02-17 18:21 ` [Bug c/99136] " jakub at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2021-02-17 18:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99136

            Bug ID: 99136
           Summary: ICE in gimplify_expr, at gimplify.c:14854
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least r5,
ICEs with -m16 and -m32, but not with -m64 :


$ cat z1.c
void f (double x)
{
  return 1.0/x;
}


$ gcc-11-20210214 -c z1.c -m32 -std=c11
z1.c: In function 'f':
z1.c:3:13: warning: 'return' with a value, in function returning void
    3 |   return 1.0/x;
      |          ~~~^~
z1.c:1:6: note: declared here
    1 | void f (double x)
      |      ^
z1.c:3:13: internal compiler error: in gimplify_expr, at gimplify.c:14854
    3 |   return 1.0/x;
      |          ~~~^~
0x8fe7b1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14854
0x8fe8d8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0x8fc1ad gimplify_and_add(tree_node*, gimple**)
        ../../gcc/gimplify.c:489
0x8fc1ad gimplify_return_expr
        ../../gcc/gimplify.c:1671
0x8fc1ad gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14331
0x8fe8d8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0x8fee31 gimplify_bind_expr
        ../../gcc/gimplify.c:1421
0x8fc9d2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14271
0x8fe8d8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0x8ff8fd gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:15306
0x8ffd5f gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:15460
0x79cb67 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:670
0x79f4a7 analyze_functions
        ../../gcc/cgraphunit.c:1233
0x79fdfd symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2511

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-09-11 14:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 18:04 [Bug c/99136] New: ICE in gimplify_expr, at gimplify.c:14854 gscfq@t-online.de
2021-02-17 18:21 ` [Bug c/99136] " jakub at gcc dot gnu.org
2021-02-17 18:45 ` jakub at gcc dot gnu.org
2021-02-18 21:19 ` cvs-commit at gcc dot gnu.org
2021-03-19 23:29 ` cvs-commit at gcc dot gnu.org
2021-04-20 23:32 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:51 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:11 ` jakub at gcc dot gnu.org
2021-09-11 14:25 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).