[Bug tree-optimization/102224] Incorrect compile on `x * copysign(1.0, x)`

gabravier at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 7 03:01:54 GMT 2021


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

--- Comment #3 from Gabriel Ravier <gabravier at gmail dot com> ---
Also seems like this might be unique to x86 as this compiles fine on Aarch64
(though while it doesn't try to do anything stupid like xoring the result with
itself, it does still not optimize the XOR_SIGN to an ABS_EXPR at the GIMPLE
level).


More information about the Gcc-bugs mailing list