mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 04:25:51 +08:00
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
This commit is contained in:
parent
1ce35d260c
commit
83f676b352
@ -1,3 +1,22 @@
|
||||
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>
|
||||
|
||||
PR tree-optimization/28187
|
||||
|
@ -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 <dan@cgsoftware.com>
|
||||
|
||||
@ -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;
|
||||
|
@ -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;
|
||||
|
24
gcc/dfp.c
24
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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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 <bje@redhat.com>
|
||||
and Andrew MacLeod <amacleod@redhat.com>
|
||||
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]);
|
||||
}
|
||||
|
@ -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 <dberlin@dberlin.org>
|
||||
|
||||
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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user