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]

Re: Save alias set information in PCH.


Index: varray.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varray.c,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 varray.c
--- varray.c	13 Jan 2004 02:43:16 -0000	1.23
+++ varray.c	16 Jan 2004 07:26:02 -0000
@@ -30,8 +30,8 @@

#define VARRAY_HDR_SIZE (sizeof (struct varray_head_tag) - sizeof (varray_data))

-/* Do not add any more non-GC items here. Please either remove or GC those items that
- are not GCed. */
+/* Do not add any more non-GC items here. Please either remove or GC
+ those items that are not GCed. */


 static const struct {
   unsigned char size;
@@ -47,7 +47,7 @@ static const struct {
   { sizeof (unsigned long), 1 },
   { sizeof (HOST_WIDE_INT), 1 },
   { sizeof (unsigned HOST_WIDE_INT), 1 },
-  { sizeof (void *), 0 },
+  { sizeof (void *), 1 },
   { sizeof (char *), 1 },
   { sizeof (struct rtx_def *), 1 },
   { sizeof (struct rtvec_def *), 1 },
============================================================


Didn't we just change this because there's no good reason to gc allocate most generic varray's?
It seems a bit strange to change it back without any discussion.
--Dan



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