This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fix problem with constant modulus
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: ebotcazou at libertysurf dot fr (Eric Botcazou)
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 21 Apr 2004 17:20:42 -0400 (EDT)
- Subject: Re: Fix problem with constant modulus
> Richard, I get a similar bootstrap failure (same location) when I pass
> i586-redhat-linux-gnu to the configure script:
>
> stage2/xgcc -Bstage2/ -B/home/eric/gnat/local/i586-redhat-linux-gnu/bin/ -c
> -g -O2 -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada
> ../../gcc/ada/ada.ads -o ada/ada.o
> +===========================GNAT BUG DETECTED==============================+
> | 3.5.0 20040421 (experimental) (i586-redhat-linux-gnu) Storage_Error stack
> overflow (or erroneous memory access)|
I've debugged this enough to know that I'm also seeing a "Storage_Error"
exception. This pretty difficult to debug as there's no backtrace
available and gdb-6.0 doesn't support ada very well. The only way that
I have without some special guidance is to "manually" step into the
program until I find the problem. Possibly, i586 support is better.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)