c/10339: strncmp generates imPure code

Michael Ubell ubell@mindspring.com
Mon Apr 7 19:59:00 GMT 2003


Attached is a program that reads 831 unaligned unallocated
bytes.  I can't actually get it to segv on Solaris because
I don't know enough about their memory management, but
I cannot believe this is correct code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.c
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030407/51a6649c/attachment.c>


More information about the Gcc-bugs mailing list