This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ICE in current CVS snapshot
- To: bug-gcc at gnu dot org
- Subject: ICE in current CVS snapshot
- From: "James A. Bednar" <jbednar at cs dot utexas dot edu>
- Date: Tue, 9 May 2000 23:41:11 -0500 (CDT)
- Reply-to: jbednar at cs dot utexas dot edu
Using the GCC Online Compiler Submission at
http://www.codesourcery.com/gcc-compile.html on the following code
generates an "Internal compiler error" when -O is enabled (see
attached):
#include <map>
struct C {
typedef std::map< int, int > M;
C(M n=M()) { }
virtual void f();
M m;
};
void C::f() { }
In case this code proves useful as a test case, I hereby place it into
the public domain for anyone to use for whatever purpose they see fit.
Jim Bednar
-------------------------------------------------------------------------------
Tue May 9 23:36:26 CDT 2000
GCC Output
These are the results of processing your source code with the following command:
c++ -x c++ -c -O [input]
Exit code: 256
Messages:
c++: Internal compiler error: program cc1plus got fatal
signal 11