This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug18a: Internal compiler error


/* 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;
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]