This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems with -O3 and C++ template instantiations
- To: gcc at gcc dot gnu dot org
- Subject: Problems with -O3 and C++ template instantiations
- From: Craig Rodrigues <rodrigc at mediaone dot net>
- Date: Sun, 11 Feb 2001 18:57:55 -0500
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