[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 13 17:49:24 GMT 2022


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

--- Comment #27 from H.J. Lu <hjl.tools at gmail dot com> ---
Another oddity is

  (set (pc) (if_then_else
               (eq (reg:CCO FLAGS_REG) (const_int 0))
               (label_ref (match_operand 3))
               (pc)))]

CCOmode means that the overflow flag is tested.  EQ means that the flag is set
and NE
means unset.


More information about the Gcc-bugs mailing list