This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree.h: Remove forward declaration of edge_def.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Apr 2005 12:29:48 -0400 (EDT)
- Subject: [patch] tree.h: Remove forward declaration of edge_def.
Hi,
Attached is a patch to remove forward declaration of edge_def.
This is a remnant of the old phi_arg_d that contained edge_def.
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-04-27 Kazu Hirata <kazu@cs.umass.edu>
* tree.h (edge_def): Remove.
Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.722
diff -u -d -p -r1.722 tree.h
--- tree.h 27 Apr 2005 01:43:11 -0000 1.722
+++ tree.h 27 Apr 2005 16:29:15 -0000
@@ -1420,8 +1420,6 @@ struct tree_ssa_name GTY(())
#define PHI_BB(NODE) PHI_NODE_CHECK (NODE)->phi.bb
#define PHI_ARG_IMM_USE_NODE(NODE, I) PHI_NODE_ELT_CHECK (NODE, I).imm_use
-struct edge_def;
-
struct phi_arg_d GTY(())
{
/* imm_use MUST be the first element in struct because we do some