Commit 83f676b3 by Roger Sayle Committed by Roger Sayle

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
parent 1ce35d26
2006-07-07 Roger Sayle <roger@eyesopen.com>
* 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 <rguenther@suse.de> 2006-07-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28187 PR tree-optimization/28187
......
/* Functions to support a pool of allocatable objects. /* 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. Free Software Foundation, Inc.
Contributed by Daniel Berlin <dan@cgsoftware.com> Contributed by Daniel Berlin <dan@cgsoftware.com>
...@@ -339,7 +339,8 @@ print_statistics (void **slot, void *b) ...@@ -339,7 +339,8 @@ print_statistics (void **slot, void *b)
#endif #endif
/* Output per-alloc_pool memory usage statistics. */ /* Output per-alloc_pool memory usage statistics. */
void dump_alloc_pool_statistics (void) void
dump_alloc_pool_statistics (void)
{ {
#ifdef GATHER_STATISTICS #ifdef GATHER_STATISTICS
struct output_info info; struct output_info info;
......
/* Natural loop analysis code for GNU compiler. /* 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. This file is part of GCC.
...@@ -83,7 +83,9 @@ struct graph ...@@ -83,7 +83,9 @@ struct graph
/* Dumps graph G into F. */ /* Dumps graph G into F. */
extern void dump_graph (FILE *, struct graph *); 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; int i;
struct edge *e; struct edge *e;
......
...@@ -142,7 +142,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn) ...@@ -142,7 +142,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn)
/* Encode a real into an IEEE 754R decimal32 type. */ /* Encode a real into an IEEE 754R decimal32 type. */
void void
encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
long *buf, const REAL_VALUE_TYPE *r) long *buf, const REAL_VALUE_TYPE *r)
{ {
...@@ -164,8 +164,9 @@ encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, ...@@ -164,8 +164,9 @@ encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
/* Decode an IEEE 754R decimal32 type into a real. */ /* Decode an IEEE 754R decimal32 type into a real. */
void decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, void
REAL_VALUE_TYPE *r, const long *buf) decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
REAL_VALUE_TYPE *r, const long *buf)
{ {
decNumber dn; decNumber dn;
decimal32 d32; decimal32 d32;
...@@ -185,7 +186,7 @@ void decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED, ...@@ -185,7 +186,7 @@ void decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
/* Encode a real into an IEEE 754R decimal64 type. */ /* Encode a real into an IEEE 754R decimal64 type. */
void void
encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
long *buf, const REAL_VALUE_TYPE *r) long *buf, const REAL_VALUE_TYPE *r)
{ {
...@@ -213,7 +214,7 @@ encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, ...@@ -213,7 +214,7 @@ encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
/* Decode an IEEE 754R decimal64 type into a real. */ /* Decode an IEEE 754R decimal64 type into a real. */
void void
decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
REAL_VALUE_TYPE *r, const long *buf) REAL_VALUE_TYPE *r, const long *buf)
{ {
...@@ -241,7 +242,7 @@ decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED, ...@@ -241,7 +242,7 @@ decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
/* Encode a real into an IEEE 754R decimal128 type. */ /* Encode a real into an IEEE 754R decimal128 type. */
void void
encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,
long *buf, const REAL_VALUE_TYPE *r) long *buf, const REAL_VALUE_TYPE *r)
{ {
...@@ -273,7 +274,7 @@ encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, ...@@ -273,7 +274,7 @@ encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,
/* Decode an IEEE 754R decimal128 type into a real. */ /* Decode an IEEE 754R decimal128 type into a real. */
void void
decode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED, decode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,
REAL_VALUE_TYPE *r, const long *buf) REAL_VALUE_TYPE *r, const long *buf)
{ {
...@@ -444,10 +445,11 @@ decimal_real_convert (REAL_VALUE_TYPE *r, enum machine_mode mode, ...@@ -444,10 +445,11 @@ decimal_real_convert (REAL_VALUE_TYPE *r, enum machine_mode mode,
CROP_TRAILING_ZEROS, strip trailing zeros. Currently, not honoring CROP_TRAILING_ZEROS, strip trailing zeros. Currently, not honoring
DIGITS or CROP_TRAILING_ZEROS. */ DIGITS or CROP_TRAILING_ZEROS. */
void decimal_real_to_decimal (char *str, const REAL_VALUE_TYPE *r_orig, void
size_t buf_size, decimal_real_to_decimal (char *str, const REAL_VALUE_TYPE *r_orig,
size_t digits ATTRIBUTE_UNUSED, size_t buf_size,
int crop_trailing_zeros ATTRIBUTE_UNUSED) size_t digits ATTRIBUTE_UNUSED,
int crop_trailing_zeros ATTRIBUTE_UNUSED)
{ {
decimal128 *d128 = (decimal128*) r_orig->sig; decimal128 *d128 = (decimal128*) r_orig->sig;
......
...@@ -53,7 +53,8 @@ init_pending_stack_adjust (void) ...@@ -53,7 +53,8 @@ init_pending_stack_adjust (void)
/* Discard any pending stack adjustment. This avoid relying on the /* Discard any pending stack adjustment. This avoid relying on the
RTL optimizers to remove useless adjustments when we know the RTL optimizers to remove useless adjustments when we know the
stack pointer value is dead. */ stack pointer value is dead. */
void discard_pending_stack_adjust (void) void
discard_pending_stack_adjust (void)
{ {
stack_pointer_delta -= pending_stack_adjust; stack_pointer_delta -= pending_stack_adjust;
pending_stack_adjust = 0; pending_stack_adjust = 0;
......
/* fix-header.c - Make C header file suitable for C++. /* fix-header.c - Make C header file suitable for C++.
Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 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 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 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. */ ...@@ -82,17 +82,19 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include "errors.h" #include "errors.h"
#ifdef TARGET_EXTRA_INCLUDES #ifdef TARGET_EXTRA_INCLUDES
void TARGET_EXTRA_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, void
const char *iprefix ATTRIBUTE_UNUSED, TARGET_EXTRA_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED,
int stdinc ATTRIBUTE_UNUSED) const char *iprefix ATTRIBUTE_UNUSED,
int stdinc ATTRIBUTE_UNUSED)
{ {
} }
#endif #endif
#ifdef TARGET_EXTRA_PRE_INCLUDES #ifdef TARGET_EXTRA_PRE_INCLUDES
void TARGET_EXTRA_PRE_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED, void
const char *iprefix ATTRIBUTE_UNUSED, TARGET_EXTRA_PRE_INCLUDES (const char *sysroot ATTRIBUTE_UNUSED,
int stdinc ATTRIBUTE_UNUSED) const char *iprefix ATTRIBUTE_UNUSED,
int stdinc ATTRIBUTE_UNUSED)
{ {
} }
#endif #endif
......
/* Expands front end tree to back end RTL for GCC. /* Expands front end tree to back end RTL for GCC.
Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 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. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -5553,7 +5553,8 @@ record_block_change (tree block) ...@@ -5553,7 +5553,8 @@ record_block_change (tree block)
} }
/* Finishes record of boundaries. */ /* Finishes record of boundaries. */
void finalize_block_changes (void) void
finalize_block_changes (void)
{ {
record_block_change (DECL_INITIAL (current_function_decl)); record_block_change (DECL_INITIAL (current_function_decl));
} }
......
/* Simple garbage collection for the GNU compiler. /* 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. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -906,7 +906,8 @@ ggc_prune_overhead_list (void) ...@@ -906,7 +906,8 @@ ggc_prune_overhead_list (void)
} }
/* Notice that the pointer has been freed. */ /* 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), PTR *slot = htab_find_slot_with_hash (ptr_hash, ptr, htab_hash_pointer (ptr),
NO_INSERT); NO_INSERT);
...@@ -939,7 +940,8 @@ add_statistics (void **slot, void *b) ...@@ -939,7 +940,8 @@ add_statistics (void **slot, void *b)
/* Dump per-site memory statistics. */ /* Dump per-site memory statistics. */
#endif #endif
void dump_ggc_loc_statistics (void) void
dump_ggc_loc_statistics (void)
{ {
#ifdef GATHER_STATISTICS #ifdef GATHER_STATISTICS
int nentries = 0; int nentries = 0;
......
/* Set operations on pointers /* 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. This file is part of GCC.
...@@ -84,7 +84,8 @@ pointer_set_create (void) ...@@ -84,7 +84,8 @@ pointer_set_create (void)
} }
/* Reclaims all memory associated with PSET. */ /* 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); XDELETEVEC (pset->slots);
XDELETE (pset); XDELETE (pset);
......
/* RTL utility routines. /* RTL utility routines.
Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 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. This file is part of GCC.
...@@ -441,7 +441,8 @@ rtx_equal_p (rtx x, rtx y) ...@@ -441,7 +441,8 @@ rtx_equal_p (rtx x, rtx y)
return 1; return 1;
} }
void dump_rtx_statistics (void) void
dump_rtx_statistics (void)
{ {
#ifdef GATHER_STATISTICS #ifdef GATHER_STATISTICS
int i; int i;
......
/* Dead code elimination pass for the GNU compiler. /* 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 <bje@redhat.com> Contributed by Ben Elliston <bje@redhat.com>
and Andrew MacLeod <amacleod@redhat.com> and Andrew MacLeod <amacleod@redhat.com>
Adapted to use control dependence by Steven Bosscher, SUSE Labs. 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) ...@@ -147,8 +147,8 @@ set_control_dependence_map_bit (basic_block bb, int edge_index)
} }
/* Clear all control dependences for block BB. */ /* Clear all control dependences for block BB. */
static inline static inline void
void clear_control_dependence_bitmap (basic_block bb) clear_control_dependence_bitmap (basic_block bb)
{ {
bitmap_clear (control_dependence_map[bb->index]); bitmap_clear (control_dependence_map[bb->index]);
} }
......
/* Tree based points-to analysis /* Tree based points-to analysis
Copyright (C) 2005 Free Software Foundation, Inc. Copyright (C) 2005, 2006 Free Software Foundation, Inc.
Contributed by Daniel Berlin <dberlin@dberlin.org> Contributed by Daniel Berlin <dberlin@dberlin.org>
This file is part of GCC. This file is part of GCC.
...@@ -3572,7 +3572,8 @@ fieldoff_compare (const void *pa, const void *pb) ...@@ -3572,7 +3572,8 @@ fieldoff_compare (const void *pa, const void *pb)
} }
/* Sort a fieldstack according to the field offset and sizes. */ /* 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), qsort (VEC_address (fieldoff_s, fieldstack),
VEC_length (fieldoff_s, fieldstack), VEC_length (fieldoff_s, fieldstack),
...@@ -4685,7 +4686,7 @@ struct tree_opt_pass pass_ipa_pta = ...@@ -4685,7 +4686,7 @@ struct tree_opt_pass pass_ipa_pta =
}; };
/* Initialize the heapvar for statement mapping. */ /* Initialize the heapvar for statement mapping. */
void void
init_alias_heapvars (void) init_alias_heapvars (void)
{ {
heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq, NULL); heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq, NULL);
......
...@@ -240,7 +240,8 @@ print_statistics (void **slot, void *b) ...@@ -240,7 +240,8 @@ print_statistics (void **slot, void *b)
#endif #endif
/* Output per-varray memory usage statistics. */ /* Output per-varray memory usage statistics. */
void dump_varray_statistics (void) void
dump_varray_statistics (void)
{ {
#ifdef GATHER_STATISTICS #ifdef GATHER_STATISTICS
struct output_info info; struct output_info info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment