http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59736
Bug ID: 59736 Summary: ice with -O3 in cgraph_edge_brings_value_p Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Created attachment 31782 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31782&action=edit gzipped C++ source code I just compiled the attached code with gcc trunk 20140108 on a x86_64 box and it said [dcb@zippy4 foundBugs]$ ../results/bin/g++ -c -O3 bug127.cc ngramcount.cc:198:1: internal compiler error: Segmentation fault 0xc6eccf crash_signal ../../src/trunk/gcc/toplev.c:337 0x11c3cb5 cgraph_edge_brings_value_p ../../src/trunk/gcc/ipa-cp.c:2371 0x11c3cb5 get_info_about_necessary_edges ../../src/trunk/gcc/ipa-cp.c:2439 0x11cb06b decide_about_value ../../src/trunk/gcc/ipa-cp.c:3330 0x11cb06b decide_whether_version_node ../../src/trunk/gcc/ipa-cp.c:3411 0x11cb06b ipcp_decision_stage ../../src/trunk/gcc/ipa-cp.c:3556 0x11cb06b ipcp_driver ../../src/trunk/gcc/ipa-cp.c:3598 0x11cb06b execute ../../src/trunk/gcc/ipa-cp.c:3694 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. Flag -O3 required.