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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<[email protected]>:

https://gcc.gnu.org/g:d8f71bdb9d693655dc4d3566e4b62ea962ff5918

commit r15-10771-gd8f71bdb9d693655dc4d3566e4b62ea962ff5918
Author: Richard Biener <[email protected]>
Date:   Wed Jan 28 13:39:14 2026 +0100

    middle-end/123575 - fix ABS_EXPR folding for vectors

    Folding away a conversion requires an optab check for vectors.

            PR middle-end/123575
            * match.pd (abs ((T)x) -> absu (x)): For vector type
            arguments require the resulting operation is supported.

            * g++.dg/pr123575.C: New testcase.

    (cherry picked from commit 26723879292eda8a9b606b3c2b968941ec4fd9ef)

Reply via email to