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

            Bug ID: 120186
           Summary: [pa] internal compiler error: in fail, at
                    selftest.cc:47 during bootstrap with LRA enabled
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glaubitz at physik dot fu-berlin.de
  Target Milestone: ---

During a native gcc bootstrap at git revision d0571638a6b on pa (hppa) with
LRA, the following ICE occurs:

(unstable-hppa-sbuild)glaubitz@esk:~/gcc$ LC_ALL=C GCC_COLORS=
/home/glaubitz/gcc/host-hppa1.1-unknown-linux-gnu/gcc/xgcc
-B/home/glaubitz/gcc/host-hppa1.1-unknown-linux-gnu/gcc/ -fno-checking -xc
-nostdinc /dev/null -S -o /dev/null -fself-test=../.././gcc/testsuite/selftests
../.././gcc/selftest.cc:434: test_locate_file: FAIL: unable to open file:
../.././gcc/testsuite/selftests/example.txt
cc1: internal compiler error: in fail_formatted, at selftest.cc:63
0x1dc47cf internal_error(char const*, ...)
        ../.././gcc/diagnostic-global-context.cc:517
0x22d06f fancy_abort(char const*, int, char const*)
        ../.././gcc/diagnostic.cc:1815
0x1d9d0cb selftest::fail_formatted(selftest::location const&, char const*, ...)
        ../.././gcc/selftest.cc:63
0x1d9d7af selftest::read_file(selftest::location const&, char const*)
        ../.././gcc/selftest.cc:267
0x1d9de2f test_locate_file
        ../.././gcc/selftest.cc:434
0x1d9de2f selftest::selftest_cc_tests()
        ../.././gcc/selftest.cc:449
0x1c9ded3 selftest::run_tests()
        ../.././gcc/selftest-run-tests.cc:59
0xbe52c7 toplev::run_self_tests()
        ../.././gcc/toplev.cc:2266
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
(unstable-hppa-sbuild)glaubitz@esk:~/gcc$

Not sure how to save the preprocessed files in this case:

(unstable-hppa-sbuild)glaubitz@esk:~/gcc$ LC_ALL=C GCC_COLORS=
/home/glaubitz/gcc/host-hppa1.1-unknown-linux-gnu/gcc/xgcc
-B/home/glaubitz/gcc/host-hppa1.1-unknown-linux-gnu/gcc/ -fno-checking -xc
-nostdinc /dev/null -S -o /dev/null -fself-test=../.././gcc/testsuite/selftests
-save-temps
cc1: error: self-tests incompatible with '-E'
(unstable-hppa-sbuild)glaubitz@esk:~/gcc$

Reply via email to