[Bug c/83487] New: [8 Regression] ICE in expand_call, at calls.c:4098

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 19 12:42:00 GMT 2017


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

            Bug ID: 83487
           Summary: [8 Regression] ICE in expand_call, at calls.c:4098
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: mpolacek at gcc dot gnu.org
  Target Milestone: ---

Starting from Marek's r255066 we ICE on:

$ cat ice.c
struct a b;
struct __attribute__ ((aligned)) a
{
} c () { d (6, 0, 1, 2, 3, 4, 5, b); }

$ gcc ice.c -c
ice.c: In function ‘c’:
ice.c:4:10: warning: implicit declaration of function ‘d’
[-Wimplicit-function-declaration]
 } c () { d (6, 0, 1, 2, 3, 4, 5, b); }
          ^
during RTL pass: expand
ice.c:4:10: internal compiler error: in expand_call, at calls.c:4098
 } c () { d (6, 0, 1, 2, 3, 4, 5, b); }
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
0x733fd7 expand_call(tree_node*, rtx_def*, int)
        ../../gcc/calls.c:4097
0x8629cd expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:10893
0x746422 expand_expr
        ../../gcc/expr.h:276
0x746422 expand_call_stmt
        ../../gcc/cfgexpand.c:2679
0x746422 expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3613
0x746422 expand_gimple_stmt
        ../../gcc/cfgexpand.c:3779
0x747f87 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5797
0x74e05e execute
        ../../gcc/cfgexpand.c:6403


More information about the Gcc-bugs mailing list