[Bug tree-optimization/96701] Failure to optimize self right-shift to 0

2020-11-05 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96701

Jeffrey A. Law  changed:

   What|Removed |Added

 CC||law at redhat dot com
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Jeffrey A. Law  ---
Fixed by Eugene's patch on the trunk.

[Bug tree-optimization/96701] Failure to optimize self right-shift to 0

2020-10-30 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96701

Eugene Rozenfeld  changed:

   What|Removed |Added

 CC||erozen at microsoft dot com

--- Comment #2 from Eugene Rozenfeld  ---
Created attachment 49476
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49476=edit
Proposed patch.

The patch was approved by Richard Biener:
https://gcc.gnu.org/pipermail/gcc-patches/2020-October/557586.html

[Bug tree-optimization/96701] Failure to optimize self right-shift to 0

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96701

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||easyhack
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Severity|normal  |enhancement
   Last reconfirmed||2020-08-24

--- Comment #1 from Andrew Pinski  ---
Confirmed.