aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-31 04:39:56 +0000
committerRichard Stallman <rms@gnu.org>1993-05-31 04:39:56 +0000
commitd0ca05efa9a42742551531350bbef921e0a5a0b8 (patch)
tree616689a73214d01c014ece7959b433c4c440bc42
parent005a596b2c868329d70e7d6a326e4f6b4ff63923 (diff)
downloadgcc-d0ca05efa9a42742551531350bbef921e0a5a0b8.zip
gcc-d0ca05efa9a42742551531350bbef921e0a5a0b8.tar.gz
gcc-d0ca05efa9a42742551531350bbef921e0a5a0b8.tar.bz2
(INSN_SETS_ARE_DELAYED): Do not call get_attr_type with a CLOBBER insn.
(INSN_REFERENCES_ARE_DELAYED): Likewise. From-SVN: r4607
-rw-r--r--gcc/config/pa/pa.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index bf0bdda..1741eaf 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for the HP Spectrum.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1993 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@mcc.com)
and Tim Moore (moore@defmacro.cs.utah.edu) of the Center for
Software Science at the University of Utah.
@@ -1496,18 +1496,20 @@ while (0)
call -- thus they act more like traditional CALL_INSNs.
get_attr_type will try to recognize the given insn, so make sure to
- filter out things it will not accept. SEQUENCE and USE insns in
- particular. */
+ filter out things it will not accept -- SEQUENCE, USE and CLOBBER insns
+ in particular. */
#define INSN_SETS_ARE_DELAYED(X) \
((GET_CODE (X) == INSN \
&& GET_CODE (PATTERN (X)) != SEQUENCE \
&& GET_CODE (PATTERN (X)) != USE \
+ && GET_CODE (PATTERN (X)) != CLOBBER \
&& get_attr_type (X) == TYPE_MILLI))
#define INSN_REFERENCES_ARE_DELAYED(X) \
((GET_CODE (X) == INSN \
&& GET_CODE (PATTERN (X)) != SEQUENCE \
&& GET_CODE (PATTERN (X)) != USE \
+ && GET_CODE (PATTERN (X)) != CLOBBER \
&& get_attr_type (X) == TYPE_MILLI))