[Bug middle-end/35762] wrong code emitted for loop with volatile induction variable
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-29 03:51 --- In fact it is the same as PR 35764. *** This bug has been marked as a duplicate of 35764 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---
[Bug middle-end/35762] wrong code emitted for loop with volatile induction variable
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-29 03:50 --- >The output is not correct, it unconditionally returns the value from g_13. No, it does not. You missed: setle %al movzbl %al, %eax subl$1, %eax Now it unconditionally reads from g_