[Bug tree-optimization/116133] Missing mult_overflow detection for aarch64
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 29 17:07:44 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116133
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-07-29
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
|| (code == MULT_EXPR
&& optab_handler (cast_stmt ? mulv4_optab : umulv4_optab,
TYPE_MODE (type)) == CODE_FOR_nothing
&& (use_seen
|| cast_stmt
|| !can_mult_highpart_p (TYPE_MODE (type), true))))
```
This misses that we could also handle it via [us]mul_widen_optab too.
More information about the Gcc-bugs
mailing list