------- Comment #1 from falk at debian dot org  2005-10-25 12:40 -------
(In reply to comment #0)

>    *memptr++ = (unsigned char)donothing(*memptr, 0);

This expression modifies memptr after accessing it for something other
than determining the new value without an intervening sequence point. The
behavior is thus undefined (C99 6.5/2). With -Wall, you even get a warning
about this.


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24517

Reply via email to