This is the mail archive of the gcc@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]

Re: Ada bootstrap failure on ia64


"Zack Weinberg" <zack@codesourcery.com> writes:

> Could one of you please try to debug this problem further?

I was able to bootstrap the ada compiler with this patch:

--- ia64.h.~1.159.~	2003-10-27 11:39:43.000000000 +0100
+++ ia64.h	2003-10-27 22:40:28.000000000 +0100
@@ -421,6 +421,9 @@ while (0)
 /* long double is XFmode normally, TFmode for HPUX.  */
 #define LONG_DOUBLE_TYPE_SIZE (TARGET_HPUX ? 128 : 96)
 
+/* long double is always stored as a 128 bit entity.  */
+#define WIDEST_HARDWARE_FP_SIZE 128
+
 /* We always want the XFmode operations from libgcc2.c.  */
 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 96
 

But I now get another ICE when compiling the Ada RTL:

../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  s-valrea.adb -o s-valrea.o
+===========================GNAT BUG DETECTED==============================+
| 3.4 20031027 (experimental) (ia64-suse-linux-gnu) GCC error:             |
| in subreg_hard_regno, at emit-rtl.c:1026                                 |
| Error detected at s-valrea.adb:156:11                                    |
| 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).                   |
+==========================================================================+

It's dying on this insn:

(insn 431 97 430 7 (set (subreg:DI (reg:XF f8) 8)
        (reg:DI r15)) 5 {*movdi_internal} (nil)
    (nil))

You can get the debugging dumps from
<ftp://ftp.suse.com/pub/people/schwab/s-valrea.adb.dump.tar.bz2> (in about
20 minutes).

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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