This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure in stage1 fix-header, !HAVE_DESIGNATED_INITIALIZERS
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Bootstrap failure in stage1 fix-header, !HAVE_DESIGNATED_INITIALIZERS
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Sat, 19 Aug 2000 19:45:54 -0700
- Cc: NeilB at earthling dot net, gcc-bugs at gcc dot gnu dot org
- References: <200008200206.WAA25460@caip.rutgers.edu>
On Sat, Aug 19, 2000 at 10:06:39PM -0400, Kaveh R. Ghazi wrote:
> Recent CVS dies in stage1 whenever one uses cc to bootstrap on
> mips-sgi-irix6.2 and sparc-sun-solaris2.7. Fix-header gobbles up
> memory until it runs out and xmalloc fails.
>
> The trigger appears to be the HAVE_DESIGNATED_INITIALIZERS else-clause
> since if I force the compiler to take the else path, it always fails
> even with gcc.
Bizarre; none of the code under !HAVE_DESIGNATED_INITIALIZERS should
be allocating memory.
I'll look into this as soon as I get a chance, but if you could change
xmalloc so it aborts on failure, run the offending process under the
debugger, and send me a backtrace, I'd much appreciate it.
zw