[Bug tree-optimization/94916] Failure to optimize pattern into difference or zero selector

2023-05-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94916

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |13.0
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=3507
 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Andrew Pinski  ---
GCC 13 gets:
movl%edi, %eax
xorl%edx, %edx
subl%esi, %eax
cmpl%esi, %edi
cmovl   %edx, %eax
ret


The rest is recorded as PR 3507.

So closing as fixed.

[Bug tree-optimization/94916] Failure to optimize pattern into difference or zero selector

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94916

Andrew Pinski  changed:

   What|Removed |Added

   Severity|normal  |enhancement