From 2ac4fed045181a6ea52cf4656ae18cb28ccde04d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 28 Jan 1992 14:31:58 -0500 Subject: [PATCH] *** empty log message *** From-SVN: r245 --- gcc/rtlanal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 174ebd50428..8ca23e38e36 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -364,6 +364,8 @@ reg_referenced_p (x, body) case TRAP_IF: return reg_overlap_mentioned_p (x, TRAP_CONDITION (body)); + case UNSPEC: + case UNSPEC_VOLATILE: case PARALLEL: for (i = XVECLEN (body, 0) - 1; i >= 0; i--) if (reg_referenced_p (x, XVECEXP (body, 0, i))) @@ -1171,7 +1173,7 @@ remove_note (insn, note) } /* Nonzero if X contains any volatile memory references - or volatile ASM_OPERANDS expressions. */ + UNSPEC_VOLATILE operations or volatile ASM_OPERANDS expressions. */ int volatile_refs_p (x) @@ -1198,6 +1200,7 @@ volatile_refs_p (x) return 0; case CALL: + case UNSPEC_VOLATILE: /* case TRAP_IF: This isn't clear yet. */ return 1; @@ -1269,6 +1272,7 @@ side_effects_p (x) case POST_INC: case POST_DEC: case CALL: + case UNSPEC_VOLATILE: /* case TRAP_IF: This isn't clear yet. */ return 1; @@ -1331,6 +1335,7 @@ may_trap_p (x) return 0; /* Conditional trap can trap! */ + case UNSPEC_VOLATILE: case TRAP_IF: return 1; -- 2.30.2