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]

g++ locks up on templated code


Hi,
I recently downloaded the cvs version of gcc and tried to compile our 
code which uses expression templates(PETE) quite extensively.  I am 
experiencing a problem which previously occurred in 2.95.2 where g++  
starts using massive amounts of memory and seemingly goes into an 
infinite recursion - in a file which is heavily templated using 
optimization flags O2 or higher (compiles fine with no optimization).  
The problem went away in 3.0.1 and is now back in cvs.  Any ideas?  How 
can I tell where g++ is hanging?
Thanks,
Jeff

-- 
Jeff Lee 
Software Engineer jeff@cdnorthamerica.com
CD North America
21 Lafayette Street, Suite 230
Lebanon, NH 03766
Tel:    (603) 643-9993 ext. 109
Fax:    (603) 643-9994 



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