This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix problem with constant modulus
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: dave at hiauly1 dot hia dot nrc dot ca,gcc-patches at gcc dot gnu dot org,gcc at gcc dot gnu dot org
- Date: Wed, 21 Apr 2004 23:11:10 +0200
- Subject: Re: Fix problem with constant modulus
- References: <10404211845.AA27256@vlsi1.ultra.nyu.edu>
> Can you do some more debugging and see what's going on?
>
> There aren't that many divisions by constant non-powers of two in the
> compiler ...
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)|
| Error detected at ada.ads:17:14 |
| 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). |
+==========================================================================+
Hopefully they are related and you'll be able to reproduce this one more
easily.
--
Eric Botcazou