This is the mail archive of the gcc-patches@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]

Re: Bug report


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

null2.C


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