diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-04 10:33:17 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-12-04 10:33:17 +0100 |
commit | b318748ff4b6a9256695a3e768d4a951dd4b8ca6 (patch) | |
tree | f4cbf2a19a8962de46bab2e668b5770fcd6f9668 /gcc/expr.c | |
parent | 108b7d3d316599861369de7c7f9bfaef915c7bd3 (diff) | |
download | gcc-b318748ff4b6a9256695a3e768d4a951dd4b8ca6.zip gcc-b318748ff4b6a9256695a3e768d4a951dd4b8ca6.tar.gz gcc-b318748ff4b6a9256695a3e768d4a951dd4b8ca6.tar.bz2 |
flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
* flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
Return correct value if one of the subexpressions was optimized to
0 resp. 1. Optimize (x | A) | x and (x & A) | x.
(and_reg_cond): Similarly.
* gcc.c-torture/compile/20011130-2.c: New test.
From-SVN: r47602
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions