'virtual memory exhausted' during compilation

James Macnicol m9305357@bohm.anu.edu.au
Thu Sep 11 17:08:00 GMT 1997


Corey Kosak wrote:
> 
> I have been plagued by the same problem James Macnicol alluded to (but hadn't
> yet isolated) regarding the compiler running out of virtual memory during
> compilation.  I have been able to create a small test case that demonstrates
> the bug.  Notice that the bug occurs when g++ is invoked with -O2 -Wall, but
> does not occur with just -O2.

	I too can confirm that with -Wall turned off egcs-970907
behaves properly on i386-pc-solaris2.5.1 (with the CFLAGS in
my project being set to "-O" instead of "-0 -Wall").



James



More information about the Gcc mailing list