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

            Bug ID: 103442
           Summary: [12 Regression] trunk 20211126 ICE (segfault) in
                    cgraph_node::verify_node() building the 32bit libgo on
                    s390x-linux-gnu
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with trunk 20211126:

during IPA pass: inline
../../../../src/libgo/go/net/ip.go: In function 'net.ubtoa.constprop.isra':
../../../../src/libgo/go/net/ip.go:291:1: internal compiler error: Segmentation
fault
  291 | func ubtoa(dst []byte, start int, v byte) int {
      | ^
0x1825a51 crash_signal
        ../../src/gcc/toplev.c:322
0x13cbca4 cgraph_node::verify_node()
        ../../src/gcc/cgraph.c:3582
0x13bbe93 symtab_node::verify()
        ../../src/gcc/symtab.c:1358
0x18a7b67 optimize_inline_calls(tree_node*)
        ../../src/gcc/tree-inline.c:5500
0x15e1ef7 inline_transform(cgraph_node*)
        ../../src/gcc/ipa-inline-transform.c:790
0x1746ab5 execute_one_ipa_transform_pass
        ../../src/gcc/passes.c:2290
0x1746ab5 execute_all_ipa_transforms(bool)
        ../../src/gcc/passes.c:2337
0x13d0263 cgraph_node::expand()
        ../../src/gcc/cgraphunit.c:1827
0x13d0263 cgraph_node::expand()
        ../../src/gcc/cgraphunit.c:1787
0x13d1a4b expand_all_functions
        ../../src/gcc/cgraphunit.c:1998
0x13d1a4b symbol_table::compile()
        ../../src/gcc/cgraphunit.c:2348
0x13d40ef symbol_table::compile()
        ../../src/gcc/cgraphunit.c:2261
0x13d40ef symbol_table::finalize_compilation_unit()
        ../../src/gcc/cgraphunit.c:2529
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
make[10]: *** [Makefile:3026: net.lo] Error 1
make[10]: Leaving directory '/<<PKGBUILDDIR>>/build/s390x-linux-gnu/32/libgo'
make[9]: *** [Makefile:2342: all-recursive] Error 1
make[9]: Leaving directory '/<<PKGBUILDDIR>>/build/s390x-linux-gnu/32/libgo'
make[8]: *** [Makefile:1213: all] Error 2
make[8]: Leaving directory '/<<PKGBUILDDIR>>/build/s390x-linux-gnu/32/libgo'
make[7]: *** [Makefile:3273: multi-do] Error 1

Reply via email to