https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421
Bug ID: 85421 Summary: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: skpgkp1 at gmail dot com Target Milestone: --- Created attachment 43952 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43952&action=edit Preprocessed reproducer file. This issue found while compiling HHVM sources. GCC 8 regressed with ICE between 04/10/2018 and 04/11/2018 ICE with 04/11/2018 compiler $g++ --version g++ (GCC) 8.0.1 20180411 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $g++ -std=gnu++1y -O3 -o QCRAMCodec.cpp.o -c QCRAMCodec.cpp.i -w during IPA pass: cp QCRAMCodec.cpp.i:128:1: internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 } // namespace bk ^ 0x6ce400 ipa_propagate_frequency(cgraph_node*) ../../gcc-main.3V7F/gcc/ipa-profile.c:405 0xce6ca3 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../gcc-main.3V7F/gcc/ipa.c:701 0xdc7f09 execute_todo ../../gcc-main.3V7F/gcc/passes.c:2062 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Work fine with 04/10/2018 compiler. $g++ --version g++ (GCC) 8.0.1 20180410 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $g++ -std=gnu++1y -O3 -o QCRAMCodec.cpp.o -c QCRAMCodec.cpp.i -w $ echo $? 0