[Bug tree-optimization/110278] [14 Regression] FAIL: gcc.dg/tree-ssa/pr103257-1.c scan-tree-dump-times optimized "link_error" 0 from r14-1880-g827e208fa64771
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 16 11:46:30 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110278
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:69b04fe7445c88edafd6983e28353a158e4314b5
commit r14-1883-g69b04fe7445c88edafd6983e28353a158e4314b5
Author: Richard Biener <rguenther@suse.de>
Date: Fri Jun 16 11:47:45 2023 +0200
tree-optimization/110278 - uns < (typeof uns)(uns != 0) is always false
The following adds two patterns simplifying comparisons,
uns < (typeof uns)(uns != 0) is always false and x != (typeof x)(x == 0)
is always true.
PR tree-optimization/110278
* match.pd (uns < (typeof uns)(uns != 0) -> false): New.
(x != (typeof x)(x == 0) -> true): Likewise.
More information about the Gcc-bugs
mailing list