This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
BUG
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: BUG
- From: Stelios Xanthakis <stelios at noc dot uoa dot gr>
- Date: Mon, 28 Jun 1999 15:34:28 +0300 (EET DST)
The version is:
egcs-2.90.29 980515 (egcs-1.0.3 release)
The program that produces the bug is
-------------------------
#include <stdio.h>
char *f ()
{
return NULL +1;
}
void main ()
{}
-------------------------
Now, why would one want to do this is another story...
When compiled as C++ it returns:
bug.cpp: In function `char * f()':
bug.cpp:5: Internal compiler error 108.
bug.cpp:5: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
bug.cpp:5: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.
Thats all
Cheers
Stelios