I don't know anything about Ada, just happen to have gnat installed on my
system, and got this while compiling ncurses (ncurses-5.5.tar.gz, ncurses
configured with "../configure --with-shared --with-rpath --prefix=/opt/pbl"):

$ gcc -v -save-temps -c -I../../../Ada95/src/ -O3 -gnatpn -I.
-I../../../Ada95/src -I- ../../../Ada95/src/terminal_interface-curses.adb
Using built-in specs.
Target: sparc-sun-solaris2.6
Configured with: ../configure --prefix=/opt/pbl --with-local-prefix=/opt/pbl
--with-cpu=ultrasparc --with-tune=ultrasparc
--enable-languages=c,ada,c++,f95,java,objc --disable-nls --with-gmp=/opt/pbl
--with-mpfr=/opt/pbl --with-gnu-ld --with-gnu-as --with-ld=/opt/pbl/bin/ld
--with-as=/opt/pbl/bin/as --enable-java-awt=xlib --with-x
Thread model: posix95
gcc version 4.0.2
 /opt/pbl/libexec/gcc/sparc-sun-solaris2.6/4.0.2/gnat1 -I../../../Ada95/src/
-I. -I../../../Ada95/src -I- -quiet -dumpbase terminal_interface-curses.adb -O3
-gnatpn -mcpu=ultrasparc -mtune=ultrasparc
../../../Ada95/src/terminal_interface-curses.adb -o terminal_interface-curses.s
+===========================GNAT BUG DETECTED==============================+
| 4.0.2 (sparc-sun-solaris2.6) in simplify_subreg, at simplify-rtx.c:3746  |
| Error detected at terminal_interface-curses.adb:2566:1                   |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

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.

../../../Ada95/src/terminal_interface-curses.adb
./terminal_interface-curses.ads
../../../Ada95/src/terminal_interface.ads
./terminal_interface-curses-aux.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:387

I'll include listed files shortly...


-- 
           Summary: Gnat bug in simplify_subreg, at simplify-rtx.c:3746
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: alex at milivojevic dot org
 GCC build triplet: sparc-sun-solaris2.6
  GCC host triplet: sparc-sun-solaris2.6
GCC target triplet: sparc-sun-solaris2.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25932

Reply via email to