aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 313e2cb..87ffcbb 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -224,6 +224,10 @@ copy_rtx (rtx orig)
/* SCRATCH must be shared because they represent distinct values. */
case ADDRESSOF:
return orig;
+ case CLOBBER:
+ if (REG_P (XEXP (orig, 0)) && REGNO (XEXP (orig, 0)) < FIRST_PSEUDO_REGISTER)
+ return orig;
+ break;
case CONST:
/* CONST can be shared if it contains a SYMBOL_REF. If it contains