diff options
author | Jeff Law <law@redhat.com> | 2020-03-23 17:55:20 -0600 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-03-23 17:59:34 -0600 |
commit | 75fb811dfaa29d60a897924b0d1629577b90eee7 (patch) | |
tree | d92865643c0d3d33c9b3db1acdbdb35a651729d8 /gcc/tree-ssa-loop-manip.c | |
parent | 1f6c1c82eb5001a844b5ac535f6aba4a3257031f (diff) | |
download | gcc-75fb811dfaa29d60a897924b0d1629577b90eee7.zip gcc-75fb811dfaa29d60a897924b0d1629577b90eee7.tar.gz gcc-75fb811dfaa29d60a897924b0d1629577b90eee7.tar.bz2 |
Verify the code used for the optimized comparison is valid for the comparison's mode.
PR rtl-optimization/90275
PR target/94238
PR target/94144
* simplify-rtx.c (comparison_code_valid_for_mode): New function.
(simplify_logical_relational_operation): Use it.
PR target/94144
PR target/94238
* gcc.c-torture/compile/pr94144.c: New test.
* gcc.c-torture/compile/pr94238.c: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
0 files changed, 0 insertions, 0 deletions