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

            Bug ID: 89972
           Summary: [8/9 Regression] ICE in expand_call, at calls.c:4229
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Started with gcc-8 (before 20180525) :


$ cat z1.c
struct S {
  long a[0] __attribute__ ((aligned (32)));
};
void foo ()
{
  struct S b;
  f (8.0L, b);
}


$ gcc-9-20190331 -c z1.c
z1.c: In function 'foo':
z1.c:7:3: warning: implicit declaration of function 'f'
[-Wimplicit-function-declaration]
    7 |   f (8.0L, b);
      |   ^
z1.c:7:3: note: the ABI for passing parameters with 32-byte alignment has
changed in GCC 4.6
    7 |   f (8.0L, b);
      |   ^~~~~~~~~~~
during RTL pass: expand
z1.c:7:3: internal compiler error: in expand_call, at calls.c:4229
0x6b5fb5 expand_call(tree_node*, rtx_def*, int)
        ../../gcc/calls.c:4227
0x7bd95e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:11032
0x6c6e9a expand_expr
        ../../gcc/expr.h:279
0x6c6e9a expand_call_stmt
        ../../gcc/cfgexpand.c:2724
0x6c6e9a expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3691
0x6c6e9a expand_gimple_stmt
        ../../gcc/cfgexpand.c:3850
0x6cba07 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5886
0x6ce096 execute
        ../../gcc/cfgexpand.c:6509

Reply via email to