aboutsummaryrefslogtreecommitdiff
path: root/gcc/varray.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-01-16 07:28:11 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-01-16 07:28:11 +0000
commitb604074cadb61e742e5729a89ec08bebea0a00d5 (patch)
treefb0803546a9062f4ca3b67f849d9857280108725 /gcc/varray.c
parenta6dd409400c73308da045537bb6ce4325b5fa3b9 (diff)
downloadgcc-b604074cadb61e742e5729a89ec08bebea0a00d5.zip
gcc-b604074cadb61e742e5729a89ec08bebea0a00d5.tar.gz
gcc-b604074cadb61e742e5729a89ec08bebea0a00d5.tar.bz2
re PR pch/13689 (GGC PCH breaks aliasing)
PR pch/13689 * alias.c (struct alias_set_entry): Mark for GC. (alias_sets): Make static, mark for GC. (record_alias_subset): Use GC to allocate alias structures. * varray.c (element): Make generic varrays GCed. From-SVN: r75962
Diffstat (limited to 'gcc/varray.c')
-rw-r--r--gcc/varray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/varray.c b/gcc/varray.c
index b748d43..dd4640d 100644
--- a/gcc/varray.c
+++ b/gcc/varray.c
@@ -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 },