https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540
Bug ID: 65540
Summary: [5 Regression] GNAT BUG in s-fatllf.ads
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Created attachment 35125
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35125&action=edit
ada sources
That's a regression in gcc 5. Used to work at least until end of October last
year. Looks like an issue in s-fatgen.adb which was last changed in January.
/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-5.0.0/x86_64-w64-mingw32/sys-include
-c -g -O2 -W -Wall -gnatpg -nostdinc s-fatllf.ads -o s-fatllf.o
+===========================GNAT BUG DETECTED==============================+
| 5.0.0 20150323 (experimental) [trunk revision 221607] (x86_64-w64-mingw32)
GCC error:|
| in expand_expr_addr_expr_1, at expr.c:7761 |
| Error detected around s-fatgen.adb:363:4 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| 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-fatllf.ads
s-fatgen.ads
s-fatgen.adb
ada.ads
a-unccon.ads
s-unstyp.ads
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:423
../gcc-interface/Makefile:311: recipe for target 's-fatllf.o' failed
make[6]: *** [s-fatllf.o] Error 1
make[6]: Leaving directory
'/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/gcc/ada/rts'
gcc-interface/Makefile:2730: recipe for target 'gnatlib' failed
make[5]: *** [gnatlib] Error 2
make[5]: Leaving directory
'/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/gcc/ada'
gcc-interface/Makefile:2838: recipe for target 'gnatlib-shared-win32' failed
make[4]: *** [gnatlib-shared-win32] Error 2
make[4]: Leaving directory
'/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/gcc/ada'
gcc-interface/Makefile:2891: recipe for target 'gnatlib-shared' failed
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory
'/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/gcc/ada'
Makefile:113: recipe for target 'gnatlib-shared' failed
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory
'/opt/devel/SCRATCH/tmp.yzRIgp5nEc/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libada'
Makefile:18738: recipe for target 'all-target-libada' failed