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

            Bug ID: 127380
           Summary: gnat fails to bootstrap on sh4-linux-gnu
                    (lra-assigns.cc:1691, around s-valrea.adb:379:8)
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20260902 on sh4-linux-gnu, bootstrapping gnat 17:

during RTL pass: reload
+===========================GNAT BUG DETECTED==============================+
| 17.0.0 20260902 (experimental) [trunk r17-3841-g59b82e3f4f8] (sh4-linux-gnu)
GCC error:|
| in lra_assign, at lra-assigns.cc:1691                                    |
| Error detected around s-valrea.adb:379:8                                 |
| Compiling s-vallfl.ads                                                   |
| Please submit a bug report; see https://gcc.gnu.org/bugs/ .              |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

system.ads
s-vallfl.ads
s-powlfl.ads
s-unstyp.ads
s-valrea.ads
s-valrea.adb
s-dourea.ads
s-flocon.ads
s-valuti.ads
s-valuer.ads
s-fatlfl.ads
s-fatgen.ads
s-exnlfl.ads
s-exponr.ads
s-valuer.adb
a-except.ads
ada.ads
s-parame.ads
s-stalib.ads
a-unccon.ads
s-traent.ads
s-dourea.adb
s-dorepr.adb
interfac.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:431
make[8]: *** [../gcc-interface/Makefile:304: s-vallfl.o] Error 1
make[8]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260902/build/gcc/ada/rts'
make[7]: *** [gcc-interface/Makefile:656: gnatlib] Error 2
make[7]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260902/build/gcc/ada'
make[6]: *** [gcc-interface/Makefile:731: gnatlib-shared-dual] Error 2
make[6]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260902/build/gcc/ada'
make[5]: *** [gcc-interface/Makefile:844: gnatlib-shared] Error 2
make[5]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260902/build/gcc/ada'
make[4]: *** [Makefile:107: gnatlib-shared] Error 2

Reply via email to