https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64753

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Rasmus Villemoes from comment #0)

> At the two places marked # we do a cmp and a conditional jump to .L3, where
> for good measure the same cmp is done again... there's no other path to .L3,
> so it would seem that simply omitting that extra cmp should be ok. 

IIRC postreload redundant compare elimination pass removes these redundant
compares. Unfortunately, the pass is not yet enabled for x86 targets.

Reply via email to