From bb3398ca65dc96386528d6f0b4e80613392bbff6 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 3 May 2011 20:00:48 +0200 Subject: [PATCH] * lto.c (free_ltrans_partitions): Fix accidental commit. From-SVN: r173336 --- gcc/lto/ChangeLog | 4 ++++ gcc/lto/lto.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index dea5f648080..ca1bc6e4aef 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2011-05-03 Jan Hubicka + + * lto.c (free_ltrans_partitions): Fix accidental commit. + 2011-05-03 Jan Hubicka * lto.c (ltrans_partition_def): Remove GTY annotations. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 9407a172395..fdd16381775 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -1159,16 +1159,16 @@ new_partition (const char *name) /* Free memory used by ltrans datastructures. */ static void -free_ltrans_partitions () +free_ltrans_partitions (void) { unsigned int idx; ltrans_partition part; for (idx = 0; VEC_iterate (ltrans_partition, ltrans_partitions, idx, part); idx++) { - free_cgraph_node_set (part->cgraph-set); + free_cgraph_node_set (part->cgraph_set); free (part); } - VEC_free (latrans_partition, heap, ltrans_partitions); + VEC_free (ltrans_partition, heap, ltrans_partitions); } /* See all references that go to comdat objects and bring them into partition too. */ -- 2.30.2