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]

Problems with -O3 and C++ template instantiations


Hi,

Does anyone have any ideas about:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1709&database=gcc

If I compile ARGV.ii with:
g++ -c -O2 ARGV.ii

it compiles OK, but if I do:
g++ -c -O3 ARGV.ii

I get:
/opt2/home/craigr/ACE_wrappers/ace/Containers_T.cpp: In member function 
   `ACE_Unbounded_Queue_Iterator<T> ACE_Unbounded_Queue<T>::begin() [with T = 
   ACE_TCHAR*]':
ARGV.cpp:332:   instantiated from here
/opt2/home/craigr/ACE_wrappers/ace/Containers_T.cpp:384: Internal error: 
   Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Thanks.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net          


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