internal compiler error

FabC fcannizzo@cribecu.sns.it
Fri Sep 3 05:09:00 GMT 1999


/*---------------------------------------------*/
#include <string>

class P
{
    static const string str = "ciao";

public:
  void stampa()
    { cout<<str<<endl; };
}

main()
{
  P p;
  p.stampa();
}
/*----------------------------------------------*/

Compiling his piece of code returns

g++ -o prova prova.cc
prova.cc:5: Internal compiler error 109.
prova.cc:5: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
prova.cc:5: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for
details.

Compilation exited abnormally with code 1 at Fri Sep  3 14:06:09

my environment is:

g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Compilation finished at Fri Sep  3 14:08:57



--
Fabrizio


More information about the Gcc-bugs mailing list