[Bug tree-optimization/96708] Failure to optimize max pattern with comparison when using a temporary variable
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 1 23:29:04 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96708
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:
https://gcc.gnu.org/g:abef36919f741c8e4f7380b2c2ffbc6ad97c2b6b
commit r11-5631-gabef36919f741c8e4f7380b2c2ffbc6ad97c2b6b
Author: Eugene Rozenfeld <Eugene.Rozenfeld@microsoft.com>
Date: Tue Dec 1 16:26:59 2020 -0700
Optimize max/min pattern with comparison
gcc/
PR tree-optimization/96708
* match.pd: New pattern for comparing X with MAX (X, Y)
or MIN (X, y).
gcc/testsuite
* gcc.dg/pr96708-negative.c: New test.
* gcc.dg/pr96708-positive.c: New test.
More information about the Gcc-bugs
mailing list