This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa]: Reduce size of phi nodes by 31 bits
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego Novillo <dnovillo at redhat dot com>
- Date: Mon, 29 Dec 2003 19:12:01 -0500
- Subject: [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];
};