[Bug c/14375] bad code gen for pointer inc with &&
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 01:43:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-02 01:43 -------
This is not a bug.
Remember that the second part in an expression a && b
isn't executed at all, if the first part evaluates to 0.
In your case, (*src++) isn't executed the first six runs
of the loop.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
Summary|bad code gen for pointer inc|bad code gen for pointer inc
|with && |with &&
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14375
More information about the Gcc-bugs
mailing list