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]

BUG



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



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