512MB limit on arrays of structures containing arrays

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Dec 31 20:54:00 GMT 1999


> However, it looks like I'll have to wait until the next official
> release for a real solution, since the snapshot can't compile the
> vastly-more-complicated code where I originally found the problem
> (regardless of the array size I use).

If you manage to isolate (*) the change to gcc that fixed the problem,
you can propose that for inclusion into the release branch (after
testing, of course). If the change is included (**) into the release
branch, it will become part of gcc 2.95.3, if that is released before
the next major release.

Regards,
Martin

(*) A fail-safe approach is a binary search on CVS. Check out a
version between the 2.95 fork and today (-D<date>), and see whether it
has the bug fixed. Then try earlier/later dates respectively, until
you can pin it down to a single commit.

(**) It is hard to tell whether the patch is suitable for inclusion in
the release branch, until we know what the patch is. Simple patches
that obviously do the right thing can be included, complex patches
probably not.



More information about the Gcc-bugs mailing list