[Bug tree-optimization/126693] Fold abs (x) * abs (y) -> abs (x * y)
"cvs-commit 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 --- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Venkataramanan Kumar <[email protected]>: https://gcc.gnu.org/g:7c48d6a74693e1c64900f6aa203539ea1ca7b370 commit r17-3200-g7c48d6a74693e1c64900f6aa203539ea1ca7b370 Author: Dipesh Sharma <[email protected]> Date: Sat Aug 8 20:39:17 2026 +0530 match.pd: Fold abs(x) * abs(y) -> abs(x * y) [PR126693] gcc/ChangeLog: PR tree-optimization/126693 * match.pd: Fold abs(x) * abs(y) into abs(x * y). gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/mult-abs-3.c: New test. * gcc.dg/tree-ssa/mult-abs-4.c: New test. * gcc.dg/tree-ssa/mult-abs-5.c: New test.