From: Jan Hubicka Date: Tue, 3 May 2011 18:00:48 +0000 (+0200) Subject: * lto.c (free_ltrans_partitions): Fix accidental commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb3398ca65dc96386528d6f0b4e80613392bbff6;p=gcc.git * lto.c (free_ltrans_partitions): Fix accidental commit. From-SVN: r173336 --- 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. */