https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80068

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-03-27
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed that I can see ICE with 6.1.0, a bit different one, but on the same
preprocessed file:

DecimalDatatypeValidator.cpp:807:1: internal compiler error: in
duplicate_thunk_for_node, at cgraphclones.c:321
 XERCES_CPP_NAMESPACE_END
 ^
0x961952 duplicate_thunk_for_node
        /home/marxin/BIG/Programming/gcc/gcc/cgraphclones.c:321
0x961ac7 cgraph_edge::redirect_callee_duplicating_thunks(cgraph_node*)
        /home/marxin/BIG/Programming/gcc/gcc/cgraphclones.c:356
0x961d23 cgraph_node::create_clone(tree_node*, long, int, bool,
vec<cgraph_edge*, va_heap, vl_ptr>, bool, cgraph_node*, bitmap_head*)
        /home/marxin/BIG/Programming/gcc/gcc/cgraphclones.c:477
0x962063 cgraph_node::create_virtual_clone(vec<cgraph_edge*, va_heap, vl_ptr>,
vec<ipa_replace_map*, va_gc, vl_embed>*, bitmap_head*, char const*)
        /home/marxin/BIG/Programming/gcc/gcc/cgraphclones.c:578
0x1404bd7 create_specialized_node
        /home/marxin/BIG/Programming/gcc/gcc/ipa-cp.c:3463
0x14065cd decide_whether_version_node
        /home/marxin/BIG/Programming/gcc/gcc/ipa-cp.c:4382
0x14065cd ipcp_decision_stage
        /home/marxin/BIG/Programming/gcc/gcc/ipa-cp.c:4494
0x14065cd ipcp_driver
        /home/marxin/BIG/Programming/gcc/gcc/ipa-cp.c:4608
0x14065cd execute
        /home/marxin/BIG/Programming/gcc/gcc/ipa-cp.c:4698

This issues is fixed by:
SVN revision: 238086
Author: ienkovich
gcc/

        PR ipa/71624
        * ipa-inline-analysis.c (compute_inline_parameters): Set
        local.can_change_signature to false for intrumentation
        thunk callees.

gcc/testsuite/

        PR ipa/71624
        * g++.dg/pr71624.C: New test.

And was backported to 6 branch as r238295. Can you please verify that this
patch fixes your problem?
Thanks,
Martin

Reply via email to