https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129037
Igor Shevlyakov <ishevlyakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ishevlyakov at gcc dot
gnu.org
Last reconfirmed| |2026-11-25
Ever confirmed|0 |1
CC| |ishevlyakov at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Component|tree-optimization |testsuite
Target Milestone|--- |17.0
--- Comment #1 from Igor Shevlyakov <ishevlyakov at gcc dot gnu.org> ---
Not a latent issue: the fold turns the memcpy/IOR idiom in fneg-abs_4.c
into .COPYSIGN (x, -1.0), the same as -fabs (x), so negabs and negabsf
now get exactly the code that fneg-abs_2.c already expects for -fabs:
a single orr each, but the double immediate is printed without '#' and
the float one uses the Advanced SIMD form (orr v0.4s, #128, lsl #24).
The gcc.dg/tree-ssa/pr64897*.c tests pass on aarch64-linux.
Patch updating the expected output:
https://inbox.sourceware.org/gcc-patches/gcc-upstream.upstream-testsuite-pr129037.v2.20261125t1953...@gmail.com/