ICE in current CVS snapshot

James A. Bednar jbednar@cs.utexas.edu
Tue May 9 21:41:00 GMT 2000


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



More information about the Gcc-bugs mailing list