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: Mainline failed to bootstrap on Linux/x86


On Wed, 2003-04-30 at 19:20, H. J. Lu wrote:
> Mainline failed to bootstrap on Linux/x86 since 04-29. I got
> 
> stage1/xgcc -Bstage1/ -B/usr/gcc-3.4/i686-pc-linux-gnu/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada -I/net/gnu/export/gnu/src/gcc/gcc/gcc/ada
> /net/gnu/export/gnu/src/gcc/gcc/gcc/ada/comperr.adb -o ada/comperr.o
> +===========================GNAT BUG DETECTED==============================+
> | 3.4 20030430 (experimental) (i686-pc-linux-gnu) GCC error:               |
> | in tree_low_cst, at tree.c:3274                                          |
> | Error detected at /net/gnu/export/gnu/src/gcc/gcc/gcc/ada/types.ads:183:59|

I confirm this (I had big patches in my tree when I first
got it that's why I didn't report it).

The type causing the blowup is Big_Source_Buffer:

   type Text_Ptr is new Int;
   --  Type used for subscripts in text buffer

   type Text_Buffer is array (Text_Ptr range <>) of Character;
   --  Text buffer used to hold source file or library information file

   subtype Big_Source_Buffer is Text_Buffer (0 .. Text_Ptr'Last);
   --  This is a virtual type used as the designated type of the access
   --  type Source_Buffer_Ptr, see Osint.Read_Source_File for details.

which is something like char[INT_MAX+1] which looks
not obvious to handle, can't say which patch or combining of patches
cause the problem yet.

-- 
Laurent Guerby <guerby@acm.org>


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