https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64068
Adam Lackorzynski <adam at os dot inf.tu-dresden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adam at os dot inf.tu-dresden.de --- Comment #4 from Adam Lackorzynski <adam at os dot inf.tu-dresden.de> --- Created attachment 34304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34304&action=edit Another test-case This is another test-case that triggers this ICE. $ g++ -c -std=c++0x -m32 -O2 t.i t.i:105:1: internal compiler error: in remove_unreachable_nodes, at ipa.c:574 } ^ 0xb2a991 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../gcc/gcc/ipa.c:574 0x12bc193 ipa_inline ../../gcc/gcc/ipa-inline.c:2196 0x12bc193 execute ../../gcc/gcc/ipa-inline.c:2562 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. zsh: exit 1 /usr/local/gcc/host-x86_64/head/bin/g++ -c -std=c++0x -m32 -O2 $ g++ --version g++ (GCC) 5.0.0 20141220 (experimental) Adding -fno-ipa-icf also makes it go away.