aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-03-28 15:07:40 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-03-28 15:07:40 +0100
commitc84e2d3d18338e1644e34c01809833419c13dd3d (patch)
tree01f6443b0c91ace1c86f110208b465f4312e0304 /gcc/rtl.h
parent92cf93d98f0e07294056a472852b3b965c42b72d (diff)
downloadgcc-c84e2d3d18338e1644e34c01809833419c13dd3d.zip
gcc-c84e2d3d18338e1644e34c01809833419c13dd3d.tar.gz
gcc-c84e2d3d18338e1644e34c01809833419c13dd3d.tar.bz2
rtl.h (NONDEBUG_INSN_P): Define as NONJUMP_INSN_P or JUMP_P or CALL_P instead of INSN_P && !DEBUG_INSN_P.
* rtl.h (NONDEBUG_INSN_P): Define as NONJUMP_INSN_P or JUMP_P or CALL_P instead of INSN_P && !DEBUG_INSN_P. (INSN_P): Define using NONDEBUG_INSN_P or DEBUG_INSN_P. From-SVN: r269991
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f991919..1a021fb 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -840,7 +840,7 @@ struct GTY(()) rtvec_def {
#define DEBUG_INSN_P(X) (GET_CODE (X) == DEBUG_INSN)
/* Predicate yielding nonzero iff X is an insn that is not a debug insn. */
-#define NONDEBUG_INSN_P(X) (INSN_P (X) && !DEBUG_INSN_P (X))
+#define NONDEBUG_INSN_P(X) (NONJUMP_INSN_P (X) || JUMP_P (X) || CALL_P (X))
/* Nonzero if DEBUG_MARKER_INSN_P may possibly hold. */
#define MAY_HAVE_DEBUG_MARKER_INSNS debug_nonbind_markers_p
@@ -851,8 +851,7 @@ struct GTY(()) rtvec_def {
(MAY_HAVE_DEBUG_MARKER_INSNS || MAY_HAVE_DEBUG_BIND_INSNS)
/* Predicate yielding nonzero iff X is a real insn. */
-#define INSN_P(X) \
- (NONJUMP_INSN_P (X) || DEBUG_INSN_P (X) || JUMP_P (X) || CALL_P (X))
+#define INSN_P(X) (NONDEBUG_INSN_P (X) || DEBUG_INSN_P (X))
/* Predicate yielding nonzero iff X is a note insn. */
#define NOTE_P(X) (GET_CODE (X) == NOTE)