bug18a: Internal compiler error

Bob Rintel brintel@valgro.com
Thu May 18 13:07:00 GMT 2000


/* Typing "g++ bug18a.cc -o bug18a" on RedHat 6.1 running egcs-1.1.2 produces:
bug18a.cc: In function `int main()':
bug18a.cc:14: Internal compiler error.
bug18a.cc:14: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
bug18a.cc:14: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
*/

struct A {
     int operator() () {return 3;}
};

int main ()
{
     A() ();
     return 0;
}


More information about the Gcc-bugs mailing list