GCC is freezing when compiling a big TU with the -g option

Andrew Haley aph@redhat.com
Fri Jul 7 18:28:00 GMT 2006


Olivier Langlois writes:

 > > 
 > > We need more information.  What OS?
 > 
 > Windows XP
 > 
 >   How much RAM?
 > 
 > 1 GB
 > 
 >   What compiler
 > > options?
 > 
 > -Wall -g -fno-common -fno-exceptions
 > 
 > > 
 > > What does the CPU load look like when this happens?  High or low?
 > 
 > >From the task manager, cc1plus.exe is using 50% of the CPU and has a
 > memory usage of 36,924K.

I'm guessing it's a bug, then.  Memory usage looks reasonable.

It doesn't sound like gcc is thrashing, but it's hard to be sure.  If
it is a bug in version 3.2, which is four years old, it's unlikely to
be fixed now.

Andrew.



More information about the Gcc-help mailing list