Bug ID: 89290
           Summary: [8/9 Regression] ICE in change_address_1, at
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot
  Target Milestone: ---

With options -O0 -mcmodel=large on x86_64-pc-linux-gnu :

$ cat pr56847.c
struct S { long int a, b; } e;
__thread struct S s;

foo (void)
  s = e;

$ gcc-7          -c pr56847.c -O0 -mcmodel=large
$ gcc-9-20190210 -c pr56847.c -O2 -mcmodel=large
$ gcc-9-20190210 -c pr56847.c -O0
$ gcc-9-20190210 -c pr56847.c -O0 -mcmodel=large
during RTL pass: split2
pr56847.c: In function 'foo':
pr56847.c:8:1: internal compiler error: in change_address_1, at emit-rtl.c:2286
    8 | }
      | ^
0x7a18d0 change_address_1
0x7a4896 adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>, int, int,
int, poly_int<1u, long>)
0xd5c619 split_double_mode(machine_mode, rtx_def**, int, rtx_def**, rtx_def**)
0xd5ca5b ix86_split_to_parts
0xd671cd ix86_split_long_move(rtx_def**)
0xf88d20 gen_split_8(rtx_insn*, rtx_def**)
0x10ccd04 split_10
0x112b377 split_insns(rtx_def*, rtx_insn*)
0x7a6331 try_split(rtx_def*, rtx_insn*, int)
0xa00281 split_insn
0xa043a2 split_all_insns()
0xa044a8 execute

Reply via email to