http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57539
Bug ID: 57539 Summary: ice in ipa_edge_duplication_hook 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 30265 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30265&action=edit C source code The attached source code causes the following crash on gcc-4.9 trunk dated 20130605 on an AMD x86_64 box when compiled with -O3. constraint.c:1011:1: internal compiler error: in ipa_edge_duplication_hook, at ipa-prop.c:2836 0x7cba11 ipa_edge_duplication_hook ../../src/trunk/gcc/ipa-prop.c:2836 0x624f2b cgraph_call_edge_duplication_hooks(cgraph_edge*, cgraph_edge*) ../../src/trunk/gcc/cgraph.c:438 0x62f831 cgraph_clone_edge(cgraph_edge*, cgraph_node*, gimple_statement_d*, unsigned int, long, int, bool) ../../src/trunk/gcc/cgraphclones.c:156 0x62fcbc cgraph_clone_node(cgraph_node*, tree_node*, long, int, bool, vec<cgraph_edge*, va_heap, vl_ptr>, bool) ../../src/trunk/gcc/cgraphclones.c:229 0xd73655 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) ../../src/trunk/gcc/ipa-inline-transform.c:171 0xd736a8 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) ../../src/trunk/gcc/ipa-inline-transform.c:186 0xd73974 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*, int*, bool) ../../src/trunk/gcc/ipa-inline-transform.c:248 0xd72169 inline_small_functions ../../src/trunk/gcc/ipa-inline.c:1615 0xd72169 ipa_inline ../../src/trunk/gcc/ipa-inline.c:1796 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.