From 0ee55ad88a745b42dc1466c5ae6360f83ba3c628 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 5 Oct 2003 13:09:48 +0000 Subject: [PATCH] c-pretty-print.c: Fix comment formatting. * c-pretty-print.c: Fix comment formatting. * cfglayout.c: Likewise. * cfgloopanal.c: Likewise. * cppcharset.c: Likewise. * dbxout.c: Likewise. * ggc-page.c: Likewise. * ggc.h: Likewise. * target.h: Likewise. From-SVN: r72110 --- gcc/ChangeLog | 11 +++++++++++ gcc/c-pretty-print.c | 4 ++-- gcc/cfglayout.c | 2 +- gcc/cfgloopanal.c | 2 +- gcc/cppcharset.c | 2 +- gcc/dbxout.c | 2 +- gcc/ggc-page.c | 6 +++--- gcc/ggc.h | 2 +- gcc/target.h | 2 +- 9 files changed, 22 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ec56291cea..3bdbbe50845 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2003-10-05 Kazu Hirata + + * c-pretty-print.c: Fix comment formatting. + * cfglayout.c: Likewise. + * cfgloopanal.c: Likewise. + * cppcharset.c: Likewise. + * dbxout.c: Likewise. + * ggc-page.c: Likewise. + * ggc.h: Likewise. + * target.h: Likewise. + 2003-10-04 Kelley Cook * gengtype-lex.l: Recognize typedef of functions without PARAMS macro. diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c index 1ddc1d036c7..9297712e2ac 100644 --- a/gcc/c-pretty-print.c +++ b/gcc/c-pretty-print.c @@ -81,7 +81,7 @@ static void pp_c_assignment_expression (c_pretty_printer *, tree); /* declarations. */ -/* Helper functions. */ +/* Helper functions. */ void pp_c_whitespace (c_pretty_printer *pp) @@ -223,7 +223,7 @@ pp_c_pointer (c_pretty_printer *pp, tree t) switch (TREE_CODE (t)) { case POINTER_TYPE: - /* It is easier to handle C++ reference types here. */ + /* It is easier to handle C++ reference types here. */ case REFERENCE_TYPE: if (TREE_CODE (TREE_TYPE (t)) == POINTER_TYPE) pp_c_pointer (pp, TREE_TYPE (t)); diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index f713eb16651..7c7600af9ae 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -423,7 +423,7 @@ insn_scope (rtx insn) the first valid instruction in the function and when that first insn is part of an inlined function then the low_pc of that inlined function is messed up. Likewise for the epilogue and - the last valid instruction. */ + the last valid instruction. */ if (loc == prologue_locator || loc == epilogue_locator) return DECL_INITIAL (cfun->decl); diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index 57c3baceff4..60c78eaa77a 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -992,7 +992,7 @@ mark_irreducible_loops (struct loops *loops) } /* Compute dfs numbering, starting from loop headers, and mark found - loops.*/ + loops. */ tick = 0; for (i = 0; i < last_basic_block + loops->num; i++) { diff --git a/gcc/cppcharset.c b/gcc/cppcharset.c index a9424086031..6794cfe52ba 100644 --- a/gcc/cppcharset.c +++ b/gcc/cppcharset.c @@ -93,7 +93,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This structure is used for a resizable string buffer throughout. */ /* Don't call it strbuf, as that conflicts with unistd.h on systems - such as DYNIX/ptx where unistd.h includes stropts.h. */ + such as DYNIX/ptx where unistd.h includes stropts.h. */ struct _cpp_strbuf { uchar *text; diff --git a/gcc/dbxout.c b/gcc/dbxout.c index ec59f5e8bcb..84700b447f6 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -541,7 +541,7 @@ dbxout_init (const char *input_file_name) dbxout_typedefs (syms); } -/* Output any typedef names for types described by TYPE_DECLs in SYMS. */ +/* Output any typedef names for types described by TYPE_DECLs in SYMS. */ static void dbxout_typedefs (tree syms) diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index e507de6929c..ed164e9a66d 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -1984,7 +1984,7 @@ ggc_pch_write_object (struct ggc_pch_data *d ATTRIBUTE_UNUSED, fatal_error ("can't write PCH file: %m"); /* If SIZE is not the same as OBJECT_SIZE(order), then we need to pad the - object out to OBJECT_SIZE(order). This happens for strings. */ + object out to OBJECT_SIZE(order). This happens for strings. */ if (size != OBJECT_SIZE (order)) { @@ -1994,7 +1994,7 @@ ggc_pch_write_object (struct ggc_pch_data *d ATTRIBUTE_UNUSED, than most padding requests as the source for our null bytes. This permits us to do the padding with fwrite() rather than fseek(), and limits the chance the the OS may try to flush any outstanding - writes. */ + writes. */ if (padding <= sizeof(emptyBytes)) { if (fwrite (emptyBytes, 1, padding, f) != padding) @@ -2002,7 +2002,7 @@ ggc_pch_write_object (struct ggc_pch_data *d ATTRIBUTE_UNUSED, } else { - /* Larger than our buffer? Just default to fseek. */ + /* Larger than our buffer? Just default to fseek. */ if (fseek (f, padding, SEEK_CUR) != 0) fatal_error ("can't write PCH file"); } diff --git a/gcc/ggc.h b/gcc/ggc.h index 3a88e165479..0e2a63e940d 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -63,7 +63,7 @@ extern void gt_pch_note_reorder (void *, void *, gt_handle_reorder); typedef void (*gt_pointer_walker) (void *); /* Structures for the easy way to mark roots. - In an array, terminated by having base == NULL.*/ + In an array, terminated by having base == NULL. */ struct ggc_root_tab { void *base; size_t nelt; diff --git a/gcc/target.h b/gcc/target.h index 5a571284b7a..15d723334b8 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -407,7 +407,7 @@ struct gcc_target tree type, int *pretend_arg_size, int second_time); bool (*strict_argument_naming) (CUMULATIVE_ARGS *ca); /* Returns true if we should use SETUP_INCOMING_VARARGS and/or - STRICT_ARGUMENT_NAMING. */ + STRICT_ARGUMENT_NAMING. */ bool (*pretend_outgoing_varargs_named) (CUMULATIVE_ARGS *ca); } calls; }; -- 2.30.2