http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55597
Bug #: 55597 Summary: [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com On Linux/x86-64, revision 194159 gave: [hjl@gnu-ivb-1 gcc]$ cat /tmp/testcase.c struct initial_sp { void *sp; int mask; }; void foo (int *); __thread struct initial_sp __morestack_initial_sp; void __morestack_release_segments (void) { foo (&__morestack_initial_sp.mask); } [hjl@gnu-ivb-1 gcc]$ ./xgcc -B./ -fPIC -O2 -mx32 -S -maddress-mode=long /tmp/testcase.c /tmp/testcase.c: In function ‘__morestack_release_segments’: /tmp/testcase.c:9:1: internal compiler error: in plus_constant, at explow.c:88 } ^ 0x7321f3 plus_constant(machine_mode, rtx_def*, long) /export/gnu/import/git/gcc/gcc/explow.c:88 0x5fdee7 init_alias_analysis() /export/gnu/import/git/gcc/gcc/alias.c:2945 0xfce2ce cse_main /export/gnu/import/git/gcc/gcc/cse.c:6543 0xfd010e rest_of_handle_cse /export/gnu/import/git/gcc/gcc/cse.c:7435 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. [hjl@gnu-ivb-1 gcc]$