https://bugzilla.novell.com/show_bug.cgi?id=489204
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=489204#c1
Richard Guenther changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution| |INVALID
--- Comment #1 from Richard Guenther 2009-03-26 09:37:05 MST ---
i gets promoted to int according to C promotion rules, so the test is really
(int)i + 23 < (int)i. i += 23 on the other hand is i = (unsigend char)((int)i
+ 23) and the truncation only invokes implementation defined behavior.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.