This is the mail archive of the gcc-patches@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: committed: Ada updates


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."


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