This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: committed: Ada updates
- From: Andreas Schwab <schwab at suse dot de>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: charlet at act-europe dot fr, gcc-patches at gcc dot gnu dot org
- Date: Wed, 01 Sep 2004 16:07:51 +0200
- Subject: Re: committed: Ada updates
- References: <10409011321.AA14780@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> I use -O0 to bootstrap, pending middle/back-end fixes.
>
> I'm not aware of anything "in the pipe" that affects bootstrapping, actually,
> though I last tried it yesterday, so I don't understand this. We bootstrapped
> with -O2 on x86-64 yesterday evening.
When I try on ia64 I get this crash:
stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c -g -O2 -gnatpg -gnata -g -O0 \
-I- -I. -Iada -I../../gcc/ada ../../gcc/ada/memtrack.adb -o ada/memtrack.o
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040901 (experimental) (ia64-suse-linux-gnu) Segmentation fault |
| Error detected at a-exexda.adb:361:8 |
This can be fixed with this patch:
Index: utils.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/utils.c,v
retrieving revision 1.79
diff -u -p -a -u -p -a -r1.79 utils.c
--- utils.c 27 Aug 2004 10:02:30 -0000 1.79
+++ utils.c 1 Sep 2004 14:05:15 -0000
@@ -431,6 +431,7 @@ gnat_define_builtin (const char *name, t
TREE_READONLY (decl) = const_p;
implicit_built_in_decls[function_code] = decl;
+ built_in_decls[function_code] = decl;
}
/* Install the builtin functions the middle-end needs. */
But even then I only get little further:
stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c -g -O2 -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/atree.adb -o ada/atree.o
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040831 (experimental) (ia64-suse-linux-gnu) GCC error: |
| in build_int_cst_wide, at tree.c:517 |
| Error detected at atree.adb:248:28 |
Should I put that in bugzilla?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."