This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] stor-layout.c: Remove set_alignment.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 06 Mar 2005 22:15:06 -0500 (EST)
- Subject: [patch] stor-layout.c: Remove set_alignment.
Hi,
Attached is a patch to remove set_alignment as it is unused.
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
* stor-layout.c (set_alignment): Remove.
* tree.h: Remove the corresponding prototype.
Index: stor-layout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stor-layout.c,v
retrieving revision 1.224
diff -u -d -p -r1.224 stor-layout.c
--- stor-layout.c 5 Mar 2005 17:25:33 -0000 1.224
+++ stor-layout.c 5 Mar 2005 21:16:55 -0000
@@ -47,10 +47,6 @@ unsigned int maximum_field_alignment = T
/* ... and its original value in bytes, specified via -fpack-struct=<value>. */
unsigned int initial_max_fld_align = TARGET_DEFAULT_PACK_STRUCT;
-/* If nonzero, the alignment of a bitstring or (power-)set value, in bits.
- May be overridden by front-ends. */
-unsigned int set_alignment = 0;
-
/* Nonzero if all REFERENCE_TYPEs are internal and hence should be
allocated in Pmode, not ptr_mode. Set only by internal_reference_types
called only by a front end. */
Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.695
diff -u -d -p -r1.695 tree.h
--- tree.h 5 Mar 2005 20:21:28 -0000 1.695
+++ tree.h 5 Mar 2005 21:16:56 -0000
@@ -3215,9 +3215,6 @@ extern unsigned int maximum_field_alignm
/* and its original value in bytes, specified via -fpack-struct=<value>. */
extern unsigned int initial_max_fld_align;
-/* If nonzero, the alignment of a bitstring or (power-)set value, in bits. */
-extern unsigned int set_alignment;
-
/* Concatenate two lists (chains of TREE_LIST nodes) X and Y
by making the last node in X point to Y.
Returns X, except if X is 0 returns Y. */