https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82712
Bug ID: 82712
Summary: [8 Regression] ICE in sp_valid_at, at
config/i386/i386.c:11383
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: daniel.santos at pobox dot com
Target Milestone: ---
Starting from r251321, we ICE on:
$ cat sp_valid.i
void c(char*);
void a ()
{
char b[2719476736];
c (b);
c (b);
}
$ gcc -Ofast -mstackrealign -mandroid sp_valid.i -c
during RTL pass: pro_and_epilogue
sp_valid.i: In function ‘a’:
sp_valid.i:8:1: internal compiler error: in sp_valid_at, at
config/i386/i386.c:11383
}
^
0xef6ddb sp_valid_at
../../gcc/config/i386/i386.c:11383
0xf2375d ix86_expand_epilogue(int)
../../gcc/config/i386/i386.c:13811
0x1156cdf gen_epilogue()
../../gcc/config/i386/i386.md:13155
0xf05b98 target_gen_epilogue
../../gcc/config/i386/i386.md:12672
0x8d1498 make_epilogue_seq
../../gcc/function.c:5915
0x8d15ac thread_prologue_and_epilogue_insns()
../../gcc/function.c:5997
0x8d1d32 rest_of_handle_thread_prologue_and_epilogue
../../gcc/function.c:6487
0x8d1d32 execute
../../gcc/function.c:6529