Bug report
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Sep 29 13:10:00 GMT 1998
Eric Dumazet <Eric.Dumazet@COSMOSBAY.COM> writes:
> const char * const strvar = "@(#)ident" ;
> printf("%lx '%s'\n", strvar, (strvar == 0) ? "(null)" : strvar) ;
> 8049258 '(null)'
> which is obviously wrong.
> Is this bug already known ?
I don't think so. Jason, may I install the attached testcase in
g++.other?
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: null2.C
Type: text/x-c
Size: 289 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980929/0cf5e7e5/attachment.bin>
More information about the Gcc-bugs
mailing list