c/10339: strncmp generates imPure code

Michael Ubell ubell@mindspring.com
Mon Apr 7 17:01:00 GMT 2003


It generates a memcmp of 4 bytes when one of the arguments
is 3 bytes long.

bangerth@dealii.org wrote:
> Synopsis: strncmp generates imPure code
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Mon Apr  7 16:48:28 2003
> State-Changed-Why:
>     Can you be more specific as to what the program gives for
>     you, what you expect, and why? The return code for the
>     program is 244 for me, independent of the flags I use.
>     
>     W.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10339
> 




More information about the Gcc-bugs mailing list