[Bug tree-optimization/101226] Suboptimal codegen for >>/>>>
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 20 20:13:11 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101226
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |easyhack
Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the inner and outer signedness don't need to match ...
The inner convert just need to be an extends. The outer convert needs to be
converted back (truncate).
the constant needs to be < precision of the original type.
More information about the Gcc-bugs
mailing list