diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-05-05 17:43:22 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-05-05 17:43:22 +0200 |
commit | ac699a047f74de2bb8f1d538b07c89075cd25c84 (patch) | |
tree | d406a59213928fe0dded5f9492923ddd28567856 /gcc/tree-switch-conversion.c | |
parent | 655b5fc85b56cf9ac46af952041abf56ca383faa (diff) | |
download | gcc-ac699a047f74de2bb8f1d538b07c89075cd25c84.zip gcc-ac699a047f74de2bb8f1d538b07c89075cd25c84.tar.gz gcc-ac699a047f74de2bb8f1d538b07c89075cd25c84.tar.bz2 |
re PR tree-optimization/80558 (VRP not handling x & -2 well)
PR tree-optimization/80558
* tree-vrp.c (extract_range_from_binary_expr_1): Optimize
[x, y] op z into [x op, y op z] for op & or | if conditions
are met.
* gcc.dg/tree-ssa/vrp115.c: New test.
From-SVN: r247641
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions