BUG

Alexandre Oliva oliva@dcc.unicamp.br
Wed Jun 30 23:07:00 GMT 1999


On Jun 28, 1999, Stelios Xanthakis <stelios@noc.uoa.gr> wrote:

> return NULL +1;

> bug.cpp:5: Internal compiler error 108.

> egcs-2.90.29 980515 (egcs-1.0.3 release)

Are you sure about the compiler release?  AFAIR, only release 1.1
would write:

> bug.cpp:5: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.

Anyway, the problem is fixed in the upcoming gcc 2.95; the latest
snapshot says:

t.cc: In function `char * f()':
t.cc:5: warning: NULL used in arithmetic
t.cc:5: return to `char *' from `int' lacks a cast

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the Gcc-bugs mailing list