aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfganal.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfganal.c')
-rw-r--r--gcc/cfganal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfganal.c b/gcc/cfganal.c
index c8675dc..2f2f121 100644
--- a/gcc/cfganal.c
+++ b/gcc/cfganal.c
@@ -69,7 +69,7 @@ flow_active_insn_p (rtx insn)
function. If we allow it to be skipped, we introduce the
possibility for register livetime aborts. */
if (GET_CODE (PATTERN (insn)) == CLOBBER
- && GET_CODE (XEXP (PATTERN (insn), 0)) == REG
+ && REG_P (XEXP (PATTERN (insn), 0))
&& REG_FUNCTION_VALUE_P (XEXP (PATTERN (insn), 0)))
return true;