aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1997-02-07 18:56:07 +0000
committerDoug Evans <dje@gnu.org>1997-02-07 18:56:07 +0000
commit899bf2bfa597e9905a9f545e916ecfce3e11a73d (patch)
tree053d4bc78876b2935ecc9f5bbf22c6d6017d5ee5 /gcc
parent580ceef20e65cfc1303282e0d7d4377cb3f8f4d9 (diff)
downloadgcc-899bf2bfa597e9905a9f545e916ecfce3e11a73d.zip
gcc-899bf2bfa597e9905a9f545e916ecfce3e11a73d.tar.gz
gcc-899bf2bfa597e9905a9f545e916ecfce3e11a73d.tar.bz2
cse.c (invalidate_from_clobbers): Delete unnecessary test for (clobber nil).
* cse.c (invalidate_from_clobbers): Delete unnecessary test for (clobber nil). From-SVN: r13618
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cse.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index cc9c142..893f1a4 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7653,15 +7653,13 @@ invalidate_from_clobbers (w, x)
if (GET_CODE (x) == CLOBBER)
{
rtx ref = XEXP (x, 0);
- if (ref)
- {
- if (GET_CODE (ref) == REG || GET_CODE (ref) == SUBREG
- || (GET_CODE (ref) == MEM && ! w->all))
- invalidate (ref, VOIDmode);
- else if (GET_CODE (ref) == STRICT_LOW_PART
- || GET_CODE (ref) == ZERO_EXTRACT)
- invalidate (XEXP (ref, 0), GET_MODE (ref));
- }
+
+ if (GET_CODE (ref) == REG || GET_CODE (ref) == SUBREG
+ || (GET_CODE (ref) == MEM && ! w->all))
+ invalidate (ref, VOIDmode);
+ else if (GET_CODE (ref) == STRICT_LOW_PART
+ || GET_CODE (ref) == ZERO_EXTRACT)
+ invalidate (XEXP (ref, 0), GET_MODE (ref));
}
else if (GET_CODE (x) == PARALLEL)
{