diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/dbxout.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dad968f..a070900 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com> + * dbxout.c (output_types_sort): Add a comment. + (output_used_types): Free the VEC. + +2006-07-26 Daniel Jacobowitz <dan@codesourcery.com> + * function.c (reorder_fix_fragments): Delete. (reorder_blocks): Don't call it. (reorder_blocks_1): Put all subblocks under the origin block. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index df8b0af..5732427 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -2393,6 +2393,10 @@ output_used_types_helper (void **slot, void *data) return 1; } +/* This is a qsort callback which sorts types and declarations into a + predictable order (types, then declarations, sorted by UID + within). */ + static int output_types_sort (const void *pa, const void *pb) { @@ -2418,6 +2422,7 @@ output_types_sort (const void *pa, const void *pb) /* Force all types used by this function to be output in debug information. */ + static void output_used_types (void) { @@ -2436,6 +2441,8 @@ output_used_types (void) for (i = 0; VEC_iterate (tree, types, i, type); i++) debug_queue_symbol (type); + + VEC_free (tree, heap, types); } } |
