From 43f3a59d9fbdeade83036d203a25669bb69201da Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 2 Jan 2004 15:30:43 +0000 Subject: [PATCH] cygming.h: Fix comment formatting. * config/i386/cygming.h: Fix comment formatting. * config/i386/djgpp.h: Likewise. * config/i386/gthr-win32.c: Likewise. * config/i386/i386-interix.h: Likewise. * config/i386/i386.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/openbsd.h: Likewise. * config/i386/winnt.c: Likewise. * config/i386/xm-mingw32.h: Likewise. From-SVN: r75324 --- gcc/ChangeLog | 12 ++++++++++++ gcc/config/i386/cygming.h | 2 +- gcc/config/i386/djgpp.h | 4 ++-- gcc/config/i386/gthr-win32.c | 2 +- gcc/config/i386/i386-interix.h | 8 ++++---- gcc/config/i386/i386.c | 21 +++++++++++---------- gcc/config/i386/i386.h | 10 +++++----- gcc/config/i386/openbsd.h | 2 +- gcc/config/i386/winnt.c | 6 +++--- gcc/config/i386/xm-mingw32.h | 2 +- 10 files changed, 41 insertions(+), 28 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bdd9f801fc87..8f95d6ce42d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2004-01-02 Kazu Hirata + + * config/i386/cygming.h: Fix comment formatting. + * config/i386/djgpp.h: Likewise. + * config/i386/gthr-win32.c: Likewise. + * config/i386/i386-interix.h: Likewise. + * config/i386/i386.c: Likewise. + * config/i386/i386.h: Likewise. + * config/i386/openbsd.h: Likewise. + * config/i386/winnt.c: Likewise. + * config/i386/xm-mingw32.h: Likewise. + 2004-01-02 Joseph S. Myers * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 99b037233dae..11d14fef0da8 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -230,7 +230,7 @@ do { \ /* By default, target has a 80387, uses IEEE compatible arithmetic, returns float values in the 387 and needs stack probes. - We also align doubles to 64-bits for MSVC default compatibility. */ + We also align doubles to 64-bits for MSVC default compatibility. */ #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT \ diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index c40c953c4a20..b0c87dbbc563 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -57,9 +57,9 @@ Boston, MA 02111-1307, USA. */ #undef TEXT_SECTION_ASM_OP #define TEXT_SECTION_ASM_OP "\t.section .text" -/* Define standard DJGPP installation paths. */ +/* Define standard DJGPP installation paths. */ /* We override default /usr or /usr/local part with /dev/env/DJDIR which */ -/* points to actual DJGPP installation directory. */ +/* points to actual DJGPP installation directory. */ /* Standard include directory */ #undef STANDARD_INCLUDE_DIR diff --git a/gcc/config/i386/gthr-win32.c b/gcc/config/i386/gthr-win32.c index 5510f108ca41..fde4aa20936c 100644 --- a/gcc/config/i386/gthr-win32.c +++ b/gcc/config/i386/gthr-win32.c @@ -1,5 +1,5 @@ /* Implementation of W32-specific threads compatibility routines for - libgcc2. */ + libgcc2. */ /* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. Contributed by Mumit Khan . diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index 4f21789c99d9..fa0eec2421f7 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ /* By default, target has a 80387, uses IEEE compatible arithmetic, and returns float values in the 387 and needs stack probes We also align doubles to 64-bits for MSVC default compatibility - We do bitfields MSVC-compatibly by default, too. */ + We do bitfields MSVC-compatibly by default, too. */ #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT \ (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE | \ @@ -140,7 +140,7 @@ Boston, MA 02111-1307, USA. */ generated assembly code more compact (and thus faster to assemble) as well as more readable, especially for targets like the i386 (where the only alternative is to output character sequences as - comma separated lists of numbers). */ + comma separated lists of numbers). */ #define ASM_OUTPUT_LIMITED_STRING(FILE, STR) \ do \ @@ -242,7 +242,7 @@ Boston, MA 02111-1307, USA. */ available at runtime, so it's hopeless to try. And if the user tries to set the flag for objc, give an error - so he has some clue. */ + so he has some clue. */ #undef SUBTARGET_OVERRIDE_OPTIONS #define SUBTARGET_OVERRIDE_OPTIONS \ @@ -356,7 +356,7 @@ extern void i386_pe_unique_section (tree, int); /* Don't assume anything about the header files. */ #define NO_IMPLICIT_EXTERN_C -/* MSVC returns structs of up to 8 bytes via registers. */ +/* MSVC returns structs of up to 8 bytes via registers. */ #define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0b904b173533..842a29cd7bf2 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -918,7 +918,7 @@ static rtx construct_container (enum machine_mode, tree, int, int, int, static enum x86_64_reg_class merge_classes (enum x86_64_reg_class, enum x86_64_reg_class); -/* Table of constants used by fldpi, fldln2, etc... */ +/* Table of constants used by fldpi, fldln2, etc.... */ static REAL_VALUE_TYPE ext_80387_constants_table [5]; static bool ext_80387_constants_init = 0; static void init_ext_80387_constants (void); @@ -1747,10 +1747,11 @@ ix86_return_pops_args (tree fundecl, tree funtype, int size) { int rtd = TARGET_RTD && (!fundecl || TREE_CODE (fundecl) != IDENTIFIER_NODE); - /* Cdecl functions override -mrtd, and never pop the stack. */ + /* Cdecl functions override -mrtd, and never pop the stack. */ if (! lookup_attribute ("cdecl", TYPE_ATTRIBUTES (funtype))) { - /* Stdcall and fastcall functions will pop the stack if not variable args. */ + /* Stdcall and fastcall functions will pop the stack if not + variable args. */ if (lookup_attribute ("stdcall", TYPE_ATTRIBUTES (funtype)) || lookup_attribute ("fastcall", TYPE_ATTRIBUTES (funtype))) rtd = 1; @@ -1997,7 +1998,7 @@ classify_argument (enum machine_mode mode, tree type, } } } - /* And now merge the fields of structure. */ + /* And now merge the fields of structure. */ for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field)) { if (TREE_CODE (field) == FIELD_DECL) @@ -2634,7 +2635,7 @@ contains_128bit_aligned_vector_p (tree type) return true; } } - /* And now merge the fields of structure. */ + /* And now merge the fields of structure. */ for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field)) { if (TREE_CODE (field) == FIELD_DECL @@ -2764,7 +2765,7 @@ ix86_return_in_memory (tree type) either (1) being abi incompatible with a -march switch, or (2) generating an error here. Given no good solution, I think the safest thing is one warning. The user won't - be able to use -Werror, but... */ + be able to use -Werror, but.... */ if (size == 16) { static bool warned; @@ -6233,7 +6234,7 @@ legitimize_pic_address (rtx orig, rtx reg) /* We must match stuff we generate before. Assume the only unspecs that can get here are ours. Not that we could do - anything with them anyway... */ + anything with them anyway.... */ if (GET_CODE (addr) == UNSPEC || (GET_CODE (addr) == PLUS && GET_CODE (XEXP (addr, 0)) == UNSPEC)) @@ -9474,7 +9475,7 @@ ix86_expand_carry_flag_compare (enum rtx_code code, rtx op0, rtx op1, rtx *pop) GET_MODE (op0) != VOIDmode ? GET_MODE (op0) : GET_MODE (op1); /* Do not handle DImode compares that go trought special path. Also we can't - deal with FP compares yet. This is possible to add. */ + deal with FP compares yet. This is possible to add. */ if ((mode == DImode && !TARGET_64BIT)) return false; if (FLOAT_MODE_P (mode)) @@ -9543,7 +9544,7 @@ ix86_expand_carry_flag_compare (enum rtx_code code, rtx op0, rtx op1, rtx *pop) { op1 = gen_int_mode (INTVAL (op1) + 1, GET_MODE (op0)); /* Bail out on overflow. We still can swap operands but that - would force loading of the constant into register. */ + would force loading of the constant into register. */ if (op1 == const0_rtx || !x86_64_immediate_operand (op1, GET_MODE (op1))) return false; @@ -11785,7 +11786,7 @@ memory_address_length (rtx addr) else if (base == hard_frame_pointer_rtx) len = 1; - /* An index requires the two-byte modrm form... */ + /* An index requires the two-byte modrm form.... */ if (index /* ...like esp, which always wants an index. */ || base == stack_pointer_rtx diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 9ce250f4efe7..148726adb960 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -320,7 +320,7 @@ extern int x86_prefetch_sse; /* WARNING: Do not mark empty strings for translation, as calling gettext on an empty string does NOT return an empty - string. */ + string. */ #define TARGET_SWITCHES \ @@ -477,9 +477,9 @@ extern int x86_prefetch_sse; { "cmodel=", &ix86_cmodel_string, \ N_("Use given x86-64 code model"), 0}, \ { "debug-arg", &ix86_debug_arg_string, \ - "" /* Undocumented. */, 0}, \ + "" /* Undocumented. */, 0}, \ { "debug-addr", &ix86_debug_addr_string, \ - "" /* Undocumented. */, 0}, \ + "" /* Undocumented. */, 0}, \ { "asm=", &ix86_asm_string, \ N_("Use given assembler dialect"), 0}, \ { "tls-dialect=", &ix86_tls_dialect_string, \ @@ -1311,7 +1311,7 @@ enum reg_class #define Q_CLASS_P(CLASS) \ reg_class_subset_p ((CLASS), Q_REGS) -/* Give names of register classes as strings for dump file. */ +/* Give names of register classes as strings for dump file. */ #define REG_CLASS_NAMES \ { "NO_REGS", \ @@ -3132,7 +3132,7 @@ enum fp_cw_mode {FP_CW_STORED, FP_CW_UNINITIALIZED, FP_CW_ANY}; scheduling just increases amount of live registers at time and in the turn amount of fxch instructions needed. - ??? Maybe Pentium chips benefits from renaming, someone can try... */ + ??? Maybe Pentium chips benefits from renaming, someone can try.... */ #define HARD_REGNO_RENAME_OK(SRC, TARGET) \ ((SRC) < FIRST_STACK_REG || (SRC) > LAST_STACK_REG) diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h index 2429d5239945..fdef0a8efe8f 100644 --- a/gcc/config/i386/openbsd.h +++ b/gcc/config/i386/openbsd.h @@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */ /* Assembler format: exception region output. */ /* All configurations that don't use elf must be explicit about not using - dwarf unwind information. */ + dwarf unwind information. */ #define DWARF2_UNWIND_INFO 0 #undef ASM_PREFERRED_EH_DATA_FORMAT diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 486fc5a10f82..6d29c27e0da1 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -124,7 +124,7 @@ ix86_handle_dll_attribute (tree * pnode, tree name, tree args, int flags, } } - /* Report error if symbol is not accessible at global scope. */ + /* Report error if symbol is not accessible at global scope. */ if (!TREE_PUBLIC (node) && (TREE_CODE (node) == VAR_DECL || TREE_CODE (node) == FUNCTION_DECL)) @@ -251,7 +251,7 @@ i386_pe_dllimport_p (tree decl) /* We ignore the dllimport attribute for inline member functions. This differs from MSVC behavior which treats it like GNUC - 'extern inline' extension. */ + 'extern inline' extension. */ else if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INLINE (decl)) { if (extra_warnings) @@ -374,7 +374,7 @@ i386_pe_mark_dllimport (tree decl) } else if (i386_pe_dllimport_name_p (oldname)) { - /* Already done, but do a sanity check to prevent assembler errors. */ + /* Already done, but do a sanity check to prevent assembler errors. */ if (!DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) { error ("%Jfailure in redeclaration of '%D': dllimport'd " diff --git a/gcc/config/i386/xm-mingw32.h b/gcc/config/i386/xm-mingw32.h index 074ea9731bb5..efd0ef9ecbee 100644 --- a/gcc/config/i386/xm-mingw32.h +++ b/gcc/config/i386/xm-mingw32.h @@ -25,5 +25,5 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #undef PATH_SEPARATOR #define PATH_SEPARATOR ';' -/* This is the name of the null device on windows. */ +/* This is the name of the null device on windows. */ #define HOST_BIT_BUCKET "nul" -- 2.43.5