This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/35906] New: build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)


Bug is present in 4.2.3 also.
building 32bit code with architecture greater than sparcv8 fails like this:

/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/
-B/usr/sparc-pld-linux/bin/ -B/usr/sparc-pld-linux/lib/ -isystem
/usr/sparc-pld-linux/
include -isystem /usr/sparc-pld-linux/sys-include -c -O2 -m32 -mcpu=ultrasparc
-gdwarf-2 -g2  -fPIC      -W -Wall -gnatpg  s-finroo.adb -o s-finroo.o
/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/
-B/usr/sparc-pld-linux/bin/ -B/usr/sparc-pld-linux/lib/ -isystem
/usr/sparc-pld-linux/include -isystem /usr/sparc-pld-linux/sys-include -c -O2
-m32 -mcpu=ultrasparc -gdwarf-2 -g2  -fPIC      -W -Wall -gnatpg  s-fore.adb -o
s-fore.o
s-fore.adb: In function 'System.Fore.Fore':
s-fore.adb:57: error: unrecognizable insn:
(insn 11 10 12 2 s-fore.adb:41 (set (reg:CCFPE 96 %fcc0)
        (compare:CCFPE (reg/v:TF 108 [ t ])
            (reg:TF 115))) -1 (nil))
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20080408 (release) (sparc-pld-linux-gnu) GCC error:                |
| in extract_insn, at recog.c:1990                                         |
| Error detected around s-fore.adb:57                                      |
| 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 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.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:398
make[7]: *** [s-fore.o] Error 1
make[7]: Leaving directory
`/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/gcc/ada/rts'
make[6]: *** [gnatlib] Error 2


-- 
           Summary: build fails when building with -m32 -mcpu=ultrasparc
                    (sparcv9 or -mv8plus also)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tommat at pimpek dot one dot pl
 GCC build triplet: sparc-pld-linux
  GCC host triplet: sparc-pld-linux
GCC target triplet: sparc-pld-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]