https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127689
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Target Milestone|--- |17.0
CC| |pinskia at gcc dot gnu.org
Ever confirmed|0 |1
Keywords| |wrong-code
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
Last reconfirmed| |2026-10-01
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(trunc)abs (extend x) --> abs (x)
I think the problem is that exposes an undefined behavior for integers.
For (all) interger types, should be using uabs instead.
Tomorrow (or later tonight), let try to see if that is the cause.