Problems with -O3 and C++ template instantiations
Craig Rodrigues
rodrigc@mediaone.net
Sun Feb 11 15:58:00 GMT 2001
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
More information about the Gcc
mailing list