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]

Re: Strange bug in GCC 2.95.2 (Linux/I386/Suse7.0


On Feb 14, 2001, Laurent.Kersten@alcatel.be wrote:

> I discover a silly bug in GCC that seems to produce incorrect assembly !

It looks right to me.

> char *my_string="\x45\x00\x90";

> .LC0:
>         .string "E"

This is '\x45' followed by the implicit string terminator '\x00'.

>         .string "\220"

And here's the '\x90', followed by another string terminator.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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