This is the mail archive of the gcc-patches@gcc.gnu.org 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]

[tree-ssa]: Reduce size of phi nodes by 31 bits


We only ever set rewritten to be 1 or 0.
I noticed this when someone else asked me about phi nodes and i had to lookup the structure.


Bootstrapped and regtested on i686

Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.342.2.154
diff -u -3 -p -r1.342.2.154 tree.h
--- tree.h      19 Dec 2003 07:01:36 -0000      1.342.2.154
+++ tree.h      29 Dec 2003 23:07:41 -0000
@@ -1082,7 +1082,7 @@ struct tree_phi_node GTY(())

/* Nonzero if the PHI node was rewritten by a previous pass through the
SSA renamer. */
- int rewritten;
+ unsigned int rewritten:1;


   struct phi_arg_d GTY ((length ("((tree)&%h)->phi.capacity"))) a[1];
 };


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