aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-12-04 10:33:17 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2001-12-04 10:33:17 +0100
commitb318748ff4b6a9256695a3e768d4a951dd4b8ca6 (patch)
treef4cbf2a19a8962de46bab2e668b5770fcd6f9668 /gcc/expr.c
parent108b7d3d316599861369de7c7f9bfaef915c7bd3 (diff)
downloadgcc-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