http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60648
Bug ID: 60648
Summary: [4.8 Regression] ICE (segmentation fault) in
expand_binop
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Created attachment 32445
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32445&action=edit
preprocessed source
seen with trunk r208764 on i686-linux-gnu, works on x86_64-linux-gnu, works
with the 4.8 branch, can be worked around with -O2.
$ gcc -O3 -fPIC -c vec.ii
In file included from ../../../src/meep.hpp:23:0,
from ../../../src/meep_internals.hpp:18,
from ../../../src/vec.cpp:23:
../../../src/meep/vec.hpp: In function 'double (*
meep::derived_component_func(meep::derived_component, const meep::grid_volume&,
int&, meep::component*))(const std::complex<double>*, const meep::vec&,
void*)':
../../../src/meep/vec.hpp:325:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
Program received signal SIGSEGV, Segmentation fault.
0x084f5382 in expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*,
rtx_def*, int, optab_methods) ()
(gdb) bt
#0 0x084f5382 in expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*,
rtx_def*, int, optab_methods) ()
#1 0x083c1b6d in force_operand(rtx_def*, rtx_def*) ()
#2 0x083a6f1d in memory_address_addr_space(machine_mode, rtx_def*, unsigned
char) ()
#3 0x083c2d96 in try_tablejump(tree_node*, tree_node*, tree_node*, tree_node*,
rtx_def*, rtx_def*, int) ()
#4 0x08594c63 in ?? ()
#5 0x08596f25 in expand_case(gimple_statement_base*) ()
#6 0x0830a7a1 in ?? ()
#7 0x0830b5f8 in ?? ()
#8 0x0830d897 in ?? ()
#9 0x08506fc9 in execute_one_pass(opt_pass*) ()
#10 0x0850720f in execute_pass_list(opt_pass*) ()
#11 0x0832b4b8 in ?? ()
#12 0x0832cd6f in compile() ()
#13 0x0832d1c8 in finalize_compilation_unit() ()
#14 0x081eb3f1 in cp_write_global_declarations() ()
#15 0x085a0d25 in ?? ()
#16 0x085a28e6 in toplev_main(int, char**) ()
#17 0x081881cb in main ()