diff options
author | Richard Biener <rguenther@suse.de> | 2023-11-27 09:45:04 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-11-27 10:39:59 +0100 |
commit | d9abaa8d58f5729925b1db735d4723a9ea825eaa (patch) | |
tree | 71b234d03d55523445b341508e2104ac564e1793 /libcpp/init.cc | |
parent | 8e4db85eca7c6e9461b8026052f6c8545c31341c (diff) | |
download | gcc-d9abaa8d58f5729925b1db735d4723a9ea825eaa.zip gcc-d9abaa8d58f5729925b1db735d4723a9ea825eaa.tar.gz gcc-d9abaa8d58f5729925b1db735d4723a9ea825eaa.tar.bz2 |
tree-optimization/112706 - missed simplification of condition
We lack a match.pd pattern recognizing ptr + o ==/!= ptr + o'.
The following extends handling we have for integral types to
pointers.
PR tree-optimization/112706
* match.pd (ptr + o ==/!=/- ptr + o'): New patterns.
* gcc.dg/tree-ssa/pr112706.c: New testcase.
Diffstat (limited to 'libcpp/init.cc')
0 files changed, 0 insertions, 0 deletions