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

            Bug ID: 101396
           Summary: ICE in decompose, at wide-int.h:984 building
                    webkitgtk-2.32.2 with -flto -fipa-pta
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at mengyan1223 dot wang
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

during IPA pass: odr
lto1: internal compiler error: in decompose, at wide-int.h:984
0xafd9a6 wi::int_traits<generic_wide_int<wide_int_storage> >::decompose(long*,
unsigned int, generic_wide_int<wide_int_storage> const&)
        ../../gcc/gcc/wide-int.h:984
0xafd5a2 wide_int_ref_storage<true,
false>::wide_int_ref_storage<generic_wide_int<wide_int_storage>
>(generic_wide_int<wide_int_storage> const&, unsigned int)
        ../../gcc/gcc/wide-int.h:1034
0xafb82c generic_wide_int<wide_int_ref_storage<true, false>
>::generic_wide_int<generic_wide_int<wide_int_storage>
>(generic_wide_int<wide_int_storage> const&, unsigned int)
        ../../gcc/gcc/wide-int.h:790
0xafb728 bool wi::eq_p<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage> >(generic_wide_int<wide_int_storage> const&,
generic_wide_int<wide_int_storage> const&)
        ../../gcc/gcc/wide-int.h:1857
0xd52726 bool wi::ne_p<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage> >(generic_wide_int<wide_int_storage> const&,
generic_wide_int<wide_int_storage> const&)
        ../../gcc/gcc/wide-int.h:1894
0xd4fbc4 wi::binary_traits<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage>,
wi::int_traits<generic_wide_int<wide_int_storage> >::precision_type,
wi::int_traits<generic_wide_int<wide_int_storage>
>::precision_type>::predicate_result
operator!=<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage> >(generic_wide_int<wide_int_storage> const&,
generic_wide_int<wide_int_storage> const&)
        ../../gcc/gcc/wide-int.h:3292
0xe86fa2 ipa_odr_read_section
        ../../gcc/gcc/ipa-devirt.c:4196
0xe87554 ipa_odr_summary_read
        ../../gcc/gcc/ipa-devirt.c:4310
0x10a5d5d ipa_read_summaries_1
        ../../gcc/gcc/passes.c:2904
0x10a5dfe ipa_read_summaries()
        ../../gcc/gcc/passes.c:2929
0xa9d964 read_cgraph_and_symbols(unsigned int, char const**)
        ../../gcc/gcc/lto/lto-common.c:2919
0xa72c70 lto_main()
        ../../gcc/gcc/lto/lto.c:625

I'll do more investigation and attempt to make a testcase tomorrow.

Reply via email to