This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] rtl.h: Remove PHI_NODE_P.


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  <>

	* 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 @@
-/* Determine if the insn is a PHI node.  */
-#define PHI_NODE_P(X)				\
-  ((X) && GET_CODE (X) == INSN			\
-   && GET_CODE (PATTERN (X)) == SET		\
 /* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]