From: Roger Sayle Date: Fri, 7 Jul 2006 14:23:57 +0000 (+0000) Subject: pointer-set.c (pointer_set_destroy): Correct whitespace. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83f676b352f6fc5981c6a477c92e735c04375ed6;p=platform%2Fupstream%2Fgcc.git pointer-set.c (pointer_set_destroy): Correct whitespace. * pointer-set.c (pointer_set_destroy): Correct whitespace. * cfgloopanal.c (dump_graph): Likewise. * dojump.c (discard_pending_stack_adjust): Likewise. * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES): Likewise. * alloc-pool.c (dump_alloc_pool_statistics): Likewise. * function.c (finalize_block_changes): Likewise. * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise. * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise. * rtl.c (dump_rtx_statistics): Likewise. * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars): Likewise. * varray.c (dump_varray_statistics): Likewise. * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64, decode_decimal64, encode_decimal128, decode_decimal128, decimal_real_to_decimal): Likewise. From-SVN: r115258 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79fb2a6..5a69352 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,22 @@ +2006-07-07 Roger Sayle + + * pointer-set.c (pointer_set_destroy): Correct whitespace. + * cfgloopanal.c (dump_graph): Likewise. + * dojump.c (discard_pending_stack_adjust): Likewise. + * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES): + Likewise. + * alloc-pool.c (dump_alloc_pool_statistics): Likewise. + * function.c (finalize_block_changes): Likewise. + * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise. + * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise. + * rtl.c (dump_rtx_statistics): Likewise. + * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars): + Likewise. + * varray.c (dump_varray_statistics): Likewise. + * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64, + decode_decimal64, encode_decimal128, decode_decimal128, + decimal_real_to_decimal): Likewise. + 2006-07-07 Richard Guenther PR tree-optimization/28187 diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c index d85cd9e..fb40577 100644 --- a/gcc/alloc-pool.c +++ b/gcc/alloc-pool.c @@ -1,5 +1,5 @@ /* Functions to support a pool of allocatable objects. - Copyright (C) 1987, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 + Copyright (C) 1987, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Contributed by Daniel Berlin @@ -339,7 +339,8 @@ print_statistics (void **slot, void *b) #endif /* Output per-alloc_pool memory usage statistics. */ -void dump_alloc_pool_statistics (void) +void +dump_alloc_pool_statistics (void) { #ifdef GATHER_STATISTICS struct output_info info; diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index 060c9c2..da54583 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -1,5 +1,5 @@ /* Natural loop analysis code for GNU compiler. - Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -83,7 +83,9 @@ struct graph /* Dumps graph G into F. */ extern void dump_graph (FILE *, struct graph *); -void dump_graph (FILE *f, struct graph *g) + +void +dump_graph (FILE *f, struct graph *g) { int i; struct edge *e; diff --git a/gcc/dfp.c b/gcc/dfp.c index f6a5387..b388f93 100644 --- a/gcc/dfp.c +++ b/gcc/dfp.c @@ -142,7 +142,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn) /* Encode a real into an IEEE 754R decimal32 type. */ -void +void encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, long *buf, const REAL_VALUE_TYPE *r) { @@ -164,8 +164,9 @@ encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, /* Decode an IEEE 754R decimal32 type into a real. */ -void decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, - REAL_VALUE_TYPE *r, const long *buf) +void +decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, + REAL_VALUE_TYPE *r, const long *buf) { decNumber dn; decimal32 d32; @@ -185,7 +186,7 @@ void decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, /* Encode a real into an IEEE 754R decimal64 type. */ -void +void encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, long *buf, const REAL_VALUE_TYPE *r) { @@ -213,7 +214,7 @@ encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, /* Decode an IEEE 754R decimal64 type into a real. */ -void +void decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, REAL_VALUE_TYPE *r, const long *buf) { @@ -241,7 +242,7 @@ decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, /* Encode a real into an IEEE 754R decimal128 type. */ -void +void encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, long *buf, const REAL_VALUE_TYPE *r) { @@ -273,7 +274,7 @@ encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, /* Decode an IEEE 754R decimal128 type into a real. */ -void +void decode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, REAL_VALUE_TYPE *r, const long *buf) { @@ -444,10 +445,11 @@ decimal_real_convert (REAL_VALUE_TYPE *r, enum machine_mode mode, CROP_TRAILING_ZEROS, strip trailing zeros. Currently, not honoring DIGITS or CROP_TRAILING_ZEROS. */ -void decimal_real_to_decimal (char *str, const REAL_VALUE_TYPE *r_orig, - size_t buf_size, - size_t digits ATTRIBUTE_UNUSED, - int crop_trailing_zeros ATTRIBUTE_UNUSED) +void +decimal_real_to_decimal (char *str, const REAL_VALUE_TYPE *r_orig, + size_t buf_size, + size_t digits ATTRIBUTE_UNUSED, + int crop_trailing_zeros ATTRIBUTE_UNUSED) { decimal128 *d128 = (decimal128*) r_orig->sig; diff --git a/gcc/dojump.c b/gcc/dojump.c index 3be77a7..be0f2d4 100644 --- a/gcc/dojump.c +++ b/gcc/dojump.c @@ -53,7 +53,8 @@ init_pending_stack_adjust (void) /* Discard any pending stack adjustment. This avoid relying on the RTL optimizers to remove useless adjustments when we know the stack pointer value is dead. */ -void discard_pending_stack_adjust (void) +void +discard_pending_stack_adjust (void) { stack_pointer_delta -= pending_stack_adjust; pending_stack_adjust = 0; diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 8bf5026..82244d0 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -1,6 +1,6 @@ /* fix-header.c - Make C header file suitable for C++. Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -82,17 +82,19 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "errors.h" #ifdef TARGET_EXTRA_INCLUDES -void TARGET_EXTRA_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, - const char *iprefix ATTRIBUTE_UNUSED, - int stdinc ATTRIBUTE_UNUSED) +void +TARGET_EXTRA_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, + const char *iprefix ATTRIBUTE_UNUSED, + int stdinc ATTRIBUTE_UNUSED) { } #endif #ifdef TARGET_EXTRA_PRE_INCLUDES -void TARGET_EXTRA_PRE_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, - const char *iprefix ATTRIBUTE_UNUSED, - int stdinc ATTRIBUTE_UNUSED) +void +TARGET_EXTRA_PRE_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, + const char *iprefix ATTRIBUTE_UNUSED, + int stdinc ATTRIBUTE_UNUSED) { } #endif diff --git a/gcc/function.c b/gcc/function.c index 177b618..e912d6a 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1,6 +1,6 @@ /* Expands front end tree to back end RTL for GCC. Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -5553,7 +5553,8 @@ record_block_change (tree block) } /* Finishes record of boundaries. */ -void finalize_block_changes (void) +void +finalize_block_changes (void) { record_block_change (DECL_INITIAL (current_function_decl)); } diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 3da248b..fe75320 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -1,5 +1,5 @@ /* Simple garbage collection for the GNU compiler. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -906,7 +906,8 @@ ggc_prune_overhead_list (void) } /* Notice that the pointer has been freed. */ -void ggc_free_overhead (void *ptr) +void +ggc_free_overhead (void *ptr) { PTR *slot = htab_find_slot_with_hash (ptr_hash, ptr, htab_hash_pointer (ptr), NO_INSERT); @@ -939,7 +940,8 @@ add_statistics (void **slot, void *b) /* Dump per-site memory statistics. */ #endif -void dump_ggc_loc_statistics (void) +void +dump_ggc_loc_statistics (void) { #ifdef GATHER_STATISTICS int nentries = 0; diff --git a/gcc/pointer-set.c b/gcc/pointer-set.c index 460a2cf..5daf88b 100644 --- a/gcc/pointer-set.c +++ b/gcc/pointer-set.c @@ -1,5 +1,5 @@ /* Set operations on pointers - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -84,7 +84,8 @@ pointer_set_create (void) } /* Reclaims all memory associated with PSET. */ -void pointer_set_destroy (struct pointer_set_t *pset) +void +pointer_set_destroy (struct pointer_set_t *pset) { XDELETEVEC (pset->slots); XDELETE (pset); diff --git a/gcc/rtl.c b/gcc/rtl.c index b1c1ac1..71bd3ae 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -1,6 +1,6 @@ /* RTL utility routines. Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -441,7 +441,8 @@ rtx_equal_p (rtx x, rtx y) return 1; } -void dump_rtx_statistics (void) +void +dump_rtx_statistics (void) { #ifdef GATHER_STATISTICS int i; diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c index 1487249..684ea78 100644 --- a/gcc/tree-ssa-dce.c +++ b/gcc/tree-ssa-dce.c @@ -1,5 +1,5 @@ /* Dead code elimination pass for the GNU compiler. - Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Contributed by Ben Elliston and Andrew MacLeod Adapted to use control dependence by Steven Bosscher, SUSE Labs. @@ -147,8 +147,8 @@ set_control_dependence_map_bit (basic_block bb, int edge_index) } /* Clear all control dependences for block BB. */ -static inline -void clear_control_dependence_bitmap (basic_block bb) +static inline void +clear_control_dependence_bitmap (basic_block bb) { bitmap_clear (control_dependence_map[bb->index]); } diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 2dca712..9be67ca 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -1,5 +1,5 @@ /* Tree based points-to analysis - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. Contributed by Daniel Berlin This file is part of GCC. @@ -3572,7 +3572,8 @@ fieldoff_compare (const void *pa, const void *pb) } /* Sort a fieldstack according to the field offset and sizes. */ -void sort_fieldstack (VEC(fieldoff_s,heap) *fieldstack) +void +sort_fieldstack (VEC(fieldoff_s,heap) *fieldstack) { qsort (VEC_address (fieldoff_s, fieldstack), VEC_length (fieldoff_s, fieldstack), @@ -4685,7 +4686,7 @@ struct tree_opt_pass pass_ipa_pta = }; /* Initialize the heapvar for statement mapping. */ -void +void init_alias_heapvars (void) { heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq, NULL); diff --git a/gcc/varray.c b/gcc/varray.c index eb8c99c..9900f9e 100644 --- a/gcc/varray.c +++ b/gcc/varray.c @@ -240,7 +240,8 @@ print_statistics (void **slot, void *b) #endif /* Output per-varray memory usage statistics. */ -void dump_varray_statistics (void) +void +dump_varray_statistics (void) { #ifdef GATHER_STATISTICS struct output_info info;