[Bug tree-optimization/126693] Fold abs (x) * abs (y) -> abs (x * y)
"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126693
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-08-07
Assignee|unassigned at gcc dot gnu.org |dipesh.sharma at amd dot com
Status|UNCONFIRMED |ASSIGNED
Severity|normal |enhancement
Ever confirmed|0 |1
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Dipesh Sharma from comment #2)
> I believe it is valid, GCC is generating two abs and mul.
What Joseph is saying is if -frounding-math is supplied the optimization should
not be done.
>
> Can I take this up ?
Assigned.