This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] rtl.h: Remove PHI_NODE_P.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 01 May 2004 12:42:54 -0400 (EDT)
- Subject: [patch] rtl.h: Remove PHI_NODE_P.
Hi,
Attached is a patch to remove PHI_NODE_P.
I am not sure if we have to poison this macro. Those poisoned in
system.h are target macros, but this isn't.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2004-05-01 Kazu Hirata <kazu@cs.umass.edu>
* rtl.h (PHI_NODE_P): Remove.
Index: rtl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.h,v
retrieving revision 1.469
diff -u -r1.469 rtl.h
--- rtl.h 20 Apr 2004 03:57:57 -0000 1.469
+++ rtl.h 1 May 2004 13:28:45 -0000
@@ -1538,12 +1538,6 @@
#ifndef USE_STORE_PRE_DECREMENT
#define USE_STORE_PRE_DECREMENT(MODE) HAVE_PRE_DECREMENT
#endif
-
-/* Determine if the insn is a PHI node. */
-#define PHI_NODE_P(X) \
- ((X) && GET_CODE (X) == INSN \
- && GET_CODE (PATTERN (X)) == SET \
- && GET_CODE (SET_SRC (PATTERN (X))) == PHI)
/* Nonzero if we need to distinguish between the return value of this function
and the return value of a function called by this function. This helps