diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-12-03 19:15:19 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-12-03 19:15:19 +0000 |
commit | c725bd79e7613da00fb1b5bc440706a219db7653 (patch) | |
tree | 576734ca59686c61b721cf09db402391f39d9a74 /gcc/config | |
parent | bd8fd826dd40c4cd293ce57e5ceea39fef21b493 (diff) | |
download | gcc-c725bd79e7613da00fb1b5bc440706a219db7653.zip gcc-c725bd79e7613da00fb1b5bc440706a219db7653.tar.gz gcc-c725bd79e7613da00fb1b5bc440706a219db7653.tar.bz2 |
c-decl.c (grokdeclarator): Use ISO word.
* c-decl.c (grokdeclarator): Use ISO word.
* cppinit.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* diagnostic.c: Similarly.
* emit-rtl.c: Similarly.
* final.c: Similarly.
* gcc.c: Similarly.
* tradcpp.c: Similarly.
* config/arm/arm.c: Similarly.
* config/arm/arm.h: Similarly.
* config/avr/avr.c: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.c: Similarly.
* config/cris/cris.c: Similarly.
* config/cris/cris.h: Similarly.
* config/d30v/d30v.c: Similarly.
* config/dsp16xx/dsp16xx.c: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/h8300/h8300.c: Similarly.
* config/i386/i386.c: Similarly.
* config/i386/xm-djgpp.h: Similarly.
* config/i960/i960.h: Similarly.
* config/m32r/m32r.c: Similarly.
* config/m68hc11/m68hc11.c: Similarly.
* config/m88k/m88k.c: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.c: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.c: Similarly.
* config/mmix/mmix.c: Similarly.
* config/pa/pa.c: Similarly.
* config/rs6000/rs6000.c: Similarly.
* config/rs6000/sysv4.h: Similarly.
* config/s390/s390.c: Similarly.
* config/sparc/sparc.c: Similarly.
* config/v850/v850-c.c: Similarly.
* config/v850/v850.c: Similarly.
ch:
* actions.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* decl.c: Similarly.
* expr.c: Similarly.
* inout.c: Similarly.
* lang.c: Similarly.
* loop.c: Similarly.
* nloop.c: Similarly.
* parse.c: Similarly.
* satisfy.c: Similarly.
* tasking.c: Similarly.
* tree.c: Similarly.
* typeck.c: Similarly.
cp:
* typeck2.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
f:
* com.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* g77spec.c: Similarly.
* lex.c: Similarly.
java:
* expr.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* jcf-io.c: Similarly.
* jcf-parse.c: Similarly.
* jv-scan.c: Similarly.
* jvspec.c: Similarly.
* mangle.c: Similarly.
From-SVN: r47558
Diffstat (limited to 'gcc/config')
42 files changed, 249 insertions, 249 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 2144289..bd6e699 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -584,13 +584,13 @@ arm_override_options () if (TARGET_THUMB && !(insn_flags & FL_THUMB)) { - warning ("target CPU does not support THUMB instructions."); + warning ("target CPU does not support THUMB instructions"); target_flags &= ~ARM_FLAG_THUMB; } if (TARGET_APCS_FRAME && TARGET_THUMB) { - /* warning ("ignoring -mapcs-frame because -mthumb was used."); */ + /* warning ("ignoring -mapcs-frame because -mthumb was used"); */ target_flags &= ~ARM_FLAG_APCS_FRAME; } @@ -598,13 +598,13 @@ arm_override_options () from here where no function is being compiled currently. */ if ((target_flags & (THUMB_FLAG_LEAF_BACKTRACE | THUMB_FLAG_BACKTRACE)) && TARGET_ARM) - warning ("enabling backtrace support is only meaningful when compiling for the Thumb."); + warning ("enabling backtrace support is only meaningful when compiling for the Thumb"); if (TARGET_ARM && TARGET_CALLEE_INTERWORKING) - warning ("enabling callee interworking support is only meaningful when compiling for the Thumb."); + warning ("enabling callee interworking support is only meaningful when compiling for the Thumb"); if (TARGET_ARM && TARGET_CALLER_INTERWORKING) - warning ("enabling caller interworking support is only meaningful when compiling for the Thumb."); + warning ("enabling caller interworking support is only meaningful when compiling for the Thumb"); /* If interworking is enabled then APCS-32 must be selected as well. */ if (TARGET_INTERWORK) @@ -643,7 +643,7 @@ arm_override_options () arm_pic_register = 10; if (TARGET_APCS_FLOAT) - warning ("Passing floating point arguments in fp regs not yet supported"); + warning ("passing floating point arguments in fp regs not yet supported"); /* Initialise boolean versions of the flags, for use in the arm.md file. */ arm_fast_multiply = (insn_flags & FL_FAST_MULT) != 0; @@ -672,7 +672,7 @@ arm_override_options () else if (streq (target_fp_name, "3")) arm_fpu_arch = FP_SOFT3; else - error ("Invalid floating point emulation option: -mfpe-%s", + error ("invalid floating point emulation option: -mfpe-%s", target_fp_name); } else @@ -696,7 +696,7 @@ arm_override_options () if (size == 8 || size == 32) arm_structure_size_boundary = size; else - warning ("Structure size boundary can only be set to 8 or 32"); + warning ("structure size boundary can only be set to 8 or 32"); } if (arm_pic_register_string != NULL) @@ -713,7 +713,7 @@ arm_override_options () || pic_register == HARD_FRAME_POINTER_REGNUM || pic_register == STACK_POINTER_REGNUM || pic_register >= PC_REGNUM) - error ("Unable to use '%s' for PIC register", arm_pic_register_string); + error ("unable to use '%s' for PIC register", arm_pic_register_string); else arm_pic_register = pic_register; } @@ -9120,7 +9120,7 @@ arm_debugger_arg_offset (value, addr) if (value == 0) { debug_rtx (addr); - warning ("Unable to compute real location of stacked parameter"); + warning ("unable to compute real location of stacked parameter"); value = 8; /* XXX magic hack */ } @@ -10003,7 +10003,7 @@ thumb_expand_prologue () if (IS_INTERRUPT (func_type)) { - error ("Interrupt Service Routines cannot be coded in Thumb mode."); + error ("interrupt Service Routines cannot be coded in Thumb mode"); return; } diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index e05976f..36a755d 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -253,7 +253,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. #define CPP_INTERWORK_SPEC " \ %{mthumb-interwork: \ - %{mno-thumb-interwork: %eIncompatible interworking options} \ + %{mno-thumb-interwork: %eincompatible interworking options} \ -D__THUMB_INTERWORK__} \ %{!mthumb-interwork:%{!mno-thumb-interwork:%(cpp_interwork_default)}} \ " diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index b576773..2a3ff91 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -194,7 +194,7 @@ avr_override_options () if (!t->name) { - fprintf (stderr, "Unknown MCU `%s' specified\nKnown MCU names:\n", + fprintf (stderr, "unknown MCU `%s' specified\nKnown MCU names:\n", avr_mcu_name); for (t = avr_mcu_types; t->name; t++) fprintf (stderr," %s\n", t->name); @@ -1039,7 +1039,7 @@ print_operand (file, x, code) else if (code == 'o') { if (GET_CODE (addr) != PLUS) - fatal_insn ("Bad address, not (reg+disp):", addr); + fatal_insn ("bad address, not (reg+disp):", addr); print_operand (file, XEXP (addr, 1), 0); } @@ -1047,7 +1047,7 @@ print_operand (file, x, code) { print_operand_address (file, XEXP (addr,0)); if (REGNO (XEXP (addr, 0)) == REG_X) - fatal_insn ("Internal compiler bug.\nBad address:" + fatal_insn ("internal compiler error. Bad address:" ,addr); fputc ('+', file); print_operand (file, XEXP (addr,1), code); @@ -1060,7 +1060,7 @@ print_operand (file, x, code) long val; REAL_VALUE_TYPE rv; if (GET_MODE (x) != SFmode) - fatal_insn ("Internal compiler bug. Unknown mode:", x); + fatal_insn ("internal compiler error. Unknown mode:", x); REAL_VALUE_FROM_CONST_DOUBLE (rv, x); REAL_VALUE_TO_TARGET_SINGLE (rv, val); asm_fprintf (file, "0x%lx", val); @@ -1768,7 +1768,7 @@ output_movhi (insn, operands, l) operands[1] = src; return ""; } - fatal_insn ("Invalid insn:", insn); + fatal_insn ("invalid insn:", insn); return ""; } @@ -1805,7 +1805,7 @@ out_movqi_r_mr (insn, op, l) { int disp = INTVAL (XEXP (x,1)); if (REGNO (XEXP (x,0)) != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (src))) return *l = 3, (AS2 (adiw,r28,%o1-63) CR_TAB @@ -1891,7 +1891,7 @@ out_movhi_r_mr (insn, op, l) if (disp > MAX_LD_OFFSET (GET_MODE (src))) { if (REGNO (XEXP (base, 0)) != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (src))) return *l = 4, (AS2 (adiw,r28,%o1-62) CR_TAB @@ -1940,7 +1940,7 @@ out_movhi_r_mr (insn, op, l) else if (GET_CODE (base) == PRE_DEC) /* (--R) */ { if (reg_overlap_mentioned_p (dest, XEXP (base, 0))) - fatal_insn ("Incorrect insn:", insn); + fatal_insn ("incorrect insn:", insn); *l = 2; return (AS2 (ld,%B0,%1) CR_TAB @@ -1949,7 +1949,7 @@ out_movhi_r_mr (insn, op, l) else if (GET_CODE (base) == POST_INC) /* (R++) */ { if (reg_overlap_mentioned_p (dest, XEXP (base, 0))) - fatal_insn ("Incorrect insn:", insn); + fatal_insn ("incorrect insn:", insn); *l = 2; return (AS2 (ld,%A0,%1) CR_TAB @@ -1968,7 +1968,7 @@ out_movhi_r_mr (insn, op, l) AS2 (lds,%B0,%B1)); } - fatal_insn ("Unknown move insn:",insn); + fatal_insn ("unknown move insn:",insn); return ""; } @@ -2047,7 +2047,7 @@ out_movsi_r_mr (insn, op, l) if (disp > MAX_LD_OFFSET (GET_MODE (src))) { if (REGNO (XEXP (base, 0)) != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (src))) return *l = 6, (AS2 (adiw,r28,%o1-60) CR_TAB @@ -2132,7 +2132,7 @@ out_movsi_r_mr (insn, op, l) AS2 (lds,%C0,%C1) CR_TAB AS2 (lds,%D0,%D1)); - fatal_insn ("Unknown move insn:",insn); + fatal_insn ("unknown move insn:",insn); return ""; } @@ -2219,7 +2219,7 @@ out_movsi_mr_r (insn, op, l) if (disp > MAX_LD_OFFSET (GET_MODE (dest))) { if (reg_base != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (dest))) return *l = 6, (AS2 (adiw,r28,%o0-60) CR_TAB @@ -2290,7 +2290,7 @@ out_movsi_mr_r (insn, op, l) AS2 (st,%0,%B1) CR_TAB AS2 (st,%0,%C1) CR_TAB AS2 (st,%0,%D1)); - fatal_insn ("Unknown move insn:",insn); + fatal_insn ("unknown move insn:",insn); return ""; } @@ -2480,7 +2480,7 @@ output_movsisf(insn, operands, l) operands[1] = src; return ""; } - fatal_insn ("Invalid insn:", insn); + fatal_insn ("invalid insn:", insn); return ""; } @@ -2517,7 +2517,7 @@ out_movqi_mr_r (insn, op, l) { int disp = INTVAL (XEXP (x,1)); if (REGNO (XEXP (x,0)) != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (dest))) return *l = 3, (AS2 (adiw,r28,%o0-63) CR_TAB @@ -2628,7 +2628,7 @@ out_movhi_mr_r (insn, op, l) if (disp > MAX_LD_OFFSET (GET_MODE (dest))) { if (reg_base != REG_Y) - fatal_insn ("Incorrect insn:",insn); + fatal_insn ("incorrect insn:",insn); if (disp <= 63 + MAX_LD_OFFSET (GET_MODE (dest))) return *l = 4, (AS2 (adiw,r28,%o0-62) CR_TAB @@ -2672,7 +2672,7 @@ out_movhi_mr_r (insn, op, l) else if (GET_CODE (base) == POST_INC) /* (R++) */ return *l=2, (AS2 (st,%0,%A1) CR_TAB AS2 (st,%0,%B1)); - fatal_insn ("Unknown move insn:",insn); + fatal_insn ("unknown move insn:",insn); return ""; } @@ -2908,7 +2908,7 @@ out_shift_with_cnt (template, insn, operands, len, t_len) } } else - fatal_insn ("Bad shift insn:", insn); + fatal_insn ("bad shift insn:", insn); if (second_label) { @@ -3024,7 +3024,7 @@ ashlqi3_out (insn, operands, len) } } else if (CONSTANT_P (operands[2])) - fatal_insn ("Internal compiler bug.\nIncorrect shift:", insn); + fatal_insn ("internal compiler error. Incorrect shift:", insn); out_shift_with_cnt (AS1 (lsl,%0), insn, operands, len, 1); @@ -3454,7 +3454,7 @@ ashrqi3_out (insn, operands, len) } } else if (CONSTANT_P (operands[2])) - fatal_insn ("Internal compiler bug.\nIncorrect shift:", insn); + fatal_insn ("internal compiler error. Incorrect shift:", insn); out_shift_with_cnt (AS1 (asr,%0), insn, operands, len, 1); @@ -3834,7 +3834,7 @@ lshrqi3_out (insn, operands, len) } } else if (CONSTANT_P (operands[2])) - fatal_insn ("Internal compiler bug.\nIncorrect shift:", insn); + fatal_insn ("internal compiler error. Incorrect shift:", insn); out_shift_with_cnt (AS1 (lsr,%0), insn, operands, len, 1); @@ -4699,8 +4699,8 @@ avr_handle_progmem_attribute (node, name, args, flags, no_add_attrs) { if (DECL_INITIAL (*node) == NULL_TREE && !DECL_EXTERNAL (*node)) { - warning ("Only initialized variables can be placed into " - "program memory area."); + warning ("only initialized variables can be placed into " + "program memory area"); *no_add_attrs = true; } } diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 6daffb7..736f285 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -2707,7 +2707,7 @@ extern int avr_case_values_threshold; the most combinations to be found. */ #define TRAMPOLINE_TEMPLATE(FILE) \ - internal_error ("Trampolines not supported\n") + internal_error ("trampolines not supported") /* Length in units of the trampoline for entering a nested function. */ diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index 3c9d140..a20fb95 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -289,7 +289,7 @@ c4x_override_options () case 40: target_flags |= C40_FLAG; break; case 44: target_flags |= C44_FLAG; break; default: - warning ("Unknown CPU version %d, using 40.\n", c4x_cpu_version); + warning ("unknown CPU version %d, using 40.\n", c4x_cpu_version); c4x_cpu_version = 40; target_flags |= C40_FLAG; } @@ -880,7 +880,7 @@ c4x_expand_prologue () requires more than 32767 words of local temporary storage! */ if (size > 32767) - error ("ISR %s requires %d words of local vars, max is 32767.", + error ("ISR %s requires %d words of local vars, max is 32767", current_function_name, size); insn = emit_insn (gen_addqi3 (gen_rtx_REG (QImode, SP_REGNO), @@ -1633,7 +1633,7 @@ c4x_check_legit_addr (mode, addr, strict) return 0; case CONST_DOUBLE: - fatal_insn ("Using CONST_DOUBLE for address", addr); + fatal_insn ("using CONST_DOUBLE for address", addr); default: return 0; @@ -3441,7 +3441,7 @@ lsrc_operand (op, mode) mode = GET_MODE (op); if (mode != QImode && mode != Pmode) - fatal_insn ("Mode not QImode", op); + fatal_insn ("mode not QImode", op); if (GET_CODE (op) == CONST_INT) return c4x_L_constant (op) || c4x_J_constant (op); @@ -3461,7 +3461,7 @@ tsrc_operand (op, mode) mode = GET_MODE (op); if (mode != QImode && mode != Pmode) - fatal_insn ("Mode not QImode", op); + fatal_insn ("mode not QImode", op); if (GET_CODE (op) == CONST_INT) return c4x_L_constant (op) || c4x_N_constant (op) || c4x_J_constant (op); @@ -3518,7 +3518,7 @@ c4x_S_address_parse (op, base, incdec, index, disp) *disp = 0; if (GET_CODE (op) != MEM) - fatal_insn ("Invalid indirect memory address", op); + fatal_insn ("invalid indirect memory address", op); op = XEXP (op, 0); switch (GET_CODE (op)) @@ -3607,7 +3607,7 @@ c4x_S_address_parse (op, base, incdec, index, disp) /* Fallthrough. */ default: - fatal_insn ("Invalid indirect (S) memory address", op); + fatal_insn ("invalid indirect (S) memory address", op); } } diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index e5b634f..5e29792 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -856,7 +856,7 @@ cris_target_asm_function_prologue (file, size) cfoa_size, current_function_args_size); if (cris_max_stackframe && framesize > cris_max_stackframe) - warning ("Stackframe too big: %d bytes", framesize); + warning ("stackframe too big: %d bytes", framesize); } /* Return nonzero if there are regs mentioned in the insn that are not all @@ -1171,7 +1171,7 @@ cris_target_asm_function_epilogue (file, size) /* Do a sanity check to avoid generating invalid code. */ if (current_function_epilogue_delay_list) - internal_error ("Allocated but unused delay list in epilogue"); + internal_error ("allocated but unused delay list in epilogue"); } return; } @@ -1181,7 +1181,7 @@ cris_target_asm_function_epilogue (file, size) thoroughly), assert the assumption that all usage of __builtin_eh_return are handled above. */ if (current_function_calls_eh_return) - internal_error ("Unexpected function type needing stack adjustment for\ + internal_error ("unexpected function type needing stack adjustment for\ __builtin_eh_return"); /* If we pushed some register parameters, then adjust the stack for @@ -1475,7 +1475,7 @@ cris_print_operand (file, x, code) { case REG: if (REGNO (operand) > 15) - internal_error ("Internal: Bad register: %d", REGNO (operand)); + internal_error ("internal error: bad register: %d", REGNO (operand)); fprintf (file, "$%s", reg_names[REGNO (operand)]); return; @@ -1944,7 +1944,7 @@ cris_notice_update_cc (exp, insn) register. */ if (cris_reg_overlap_mentioned_p (cc_status.value1, cc_status.value2)) - internal_error ("Internal: sideeffect-insn affecting main effect"); + internal_error ("internal error: sideeffect-insn affecting main effect"); return; } else if ((REG_P (XEXP (XVECEXP (exp, 0, 0), 1)) @@ -2231,7 +2231,7 @@ cris_side_effect_mode_ok (code, ops, lreg, rreg, rval, multop, other_op) } /* If we get here, the caller got its initial tests wrong. */ - internal_error ("Internal: cris_side_effect_mode_ok with bad operands"); + internal_error ("internal error: cris_side_effect_mode_ok with bad operands"); } /* The function reg_overlap_mentioned_p in CVS (still as of 2001-05-16) @@ -2313,7 +2313,7 @@ cris_symbol (x) return 0; default: - fatal_insn ("Unrecognized supposed constant", x); + fatal_insn ("unrecognized supposed constant", x); } return 1; @@ -2371,7 +2371,7 @@ cris_gotless_symbol (x) return 0; default: - fatal_insn ("Unrecognized supposed constant", x); + fatal_insn ("unrecognized supposed constant", x); } return 1; @@ -2412,7 +2412,7 @@ cris_got_symbol (x) return 0; default: - fatal_insn ("Unrecognized supposed constant in cris_global_pic_symbol", + fatal_insn ("unrecognized supposed constant in cris_global_pic_symbol", x); } @@ -2459,7 +2459,7 @@ cris_override_options () cris_cpu_version = 10; if (cris_cpu_version < 0 || cris_cpu_version > 10) - error ("Unknown CRIS version specification in -march= or -mcpu= : %s", + error ("unknown CRIS version specification in -march= or -mcpu= : %s", cris_cpu_str); /* Set the target flags. */ @@ -2495,7 +2495,7 @@ cris_override_options () cris_tune = 10; if (cris_tune < 0 || cris_tune > 10) - error ("Unknown CRIS cpu version specification in -mtune= : %s", + error ("unknown CRIS cpu version specification in -mtune= : %s", cris_tune_str); if (cris_tune >= CRIS_CPU_SVINTO) @@ -2529,7 +2529,7 @@ cris_override_options () if ((write_symbols == DWARF_DEBUG || write_symbols == DWARF2_DEBUG) && ! TARGET_ELF) { - warning ("Specified -g option is invalid with -maout and -melinux"); + warning ("that particular -g option is invalid with -maout and -melinux"); write_symbols = DBX_DEBUG; } @@ -2720,7 +2720,7 @@ cris_split_movdx (operands) GO_IF_LEGITIMATE_ADDRESS, but we're here for your safety. */ if (side_effects_p (addr)) - fatal_insn ("Unexpected side-effects in address", addr); + fatal_insn ("unexpected side-effects in address", addr); emit_insn (gen_rtx_SET (VOIDmode, @@ -2765,7 +2765,7 @@ cris_split_movdx (operands) postincrements. They should be stopped in GO_IF_LEGITIMATE_ADDRESS, but we're here for your safety. */ if (side_effects_p (addr)) - fatal_insn ("Unexpected side-effects in address", addr); + fatal_insn ("unexpected side-effects in address", addr); emit_insn (gen_rtx_SET (VOIDmode, @@ -2879,7 +2879,7 @@ restart: if (GET_CODE (XEXP (x, 0)) != CODE_LABEL && (GET_CODE (XEXP (x, 0)) != NOTE || NOTE_LINE_NUMBER (XEXP (x, 0)) != NOTE_INSN_DELETED_LABEL)) - fatal_insn ("Unexpected address expression", x); + fatal_insn ("unexpected address expression", x); if (flag_pic) { @@ -2893,11 +2893,11 @@ restart: } else /* Labels are never marked as global symbols. */ - fatal_insn ("Unexpected PIC symbol", x); + fatal_insn ("unexpected PIC symbol", x); /* Sanity check. */ if (! current_function_uses_pic_offset_table) - internal_error ("Emitting PIC operand, but PIC register isn't set up"); + internal_error ("emitting PIC operand, but PIC register isn't set up"); break; } @@ -2906,7 +2906,7 @@ restart: case NOTE: if (NOTE_LINE_NUMBER (x) != NOTE_INSN_DELETED_LABEL) - fatal_insn ("Unexpected NOTE as addr_const:", x); + fatal_insn ("unexpected NOTE as addr_const:", x); case CODE_LABEL: case CONST_INT: case CONST_DOUBLE: diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index a65c6d2..3cfb106 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -1022,15 +1022,15 @@ struct cum_args {int regs;}; /* Node: Profiling */ #define FUNCTION_PROFILER(FILE, LABELNO) \ - error ("No FUNCTION_PROFILER for CRIS") + error ("no FUNCTION_PROFILER for CRIS") /* No profiling for the time being. */ #define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \ - error ("No FUNCTION_BLOCK_PROFILER for CRIS") + error ("no FUNCTION_BLOCK_PROFILER for CRIS") /* No profiling for the time being. */ #define BLOCK_PROFILER(FILE, BLOCKNO) \ - error ("No BLOCK_PROFILER for CRIS") + error ("no BLOCK_PROFILER for CRIS") /* FIXME: Some of the undefined macros might be mandatory. If so, fix documentation. */ diff --git a/gcc/config/d30v/d30v.c b/gcc/config/d30v/d30v.c index a4d14be..9eea5f5 100644 --- a/gcc/config/d30v/d30v.c +++ b/gcc/config/d30v/d30v.c @@ -201,7 +201,7 @@ override_options () if (ok_p && (hard_regno_mode_ok[(int)mode1][regno] != hard_regno_mode_ok[(int)mode2][regno])) - error ("Bad modes_tieable_p for register %s, mode1 %s, mode2 %s", + error ("bad modes_tieable_p for register %s, mode1 %s, mode2 %s", reg_names[regno], GET_MODE_NAME (mode1), GET_MODE_NAME (mode2)); } @@ -2668,7 +2668,7 @@ d30v_print_operand_address (stream, x) return; } - fatal_insn ("Bad insn to d30v_print_operand_address:", x); + fatal_insn ("bad insn to d30v_print_operand_address:", x); } @@ -2685,7 +2685,7 @@ d30v_print_operand_memory_reference (stream, x) switch (GET_CODE (x)) { default: - fatal_insn ("Bad insn to d30v_print_operand_memory_reference:", x); + fatal_insn ("bad insn to d30v_print_operand_memory_reference:", x); break; case SUBREG: @@ -2746,7 +2746,7 @@ d30v_print_operand_memory_reference (stream, x) if (GET_CODE (x0) == REG && GPR_P (REGNO (x0))) fprintf (stream, "%s%s", reg_names[REGNO (x0) + offset0], suffix); else - fatal_insn ("Bad insn to d30v_print_operand_memory_reference:", x); + fatal_insn ("bad insn to d30v_print_operand_memory_reference:", x); } fputs (",", stream); @@ -2767,7 +2767,7 @@ d30v_print_operand_memory_reference (stream, x) GET_MODE (x1)); x1 = SUBREG_REG (x1); if (GET_CODE (x1) != REG) - fatal_insn ("Bad insn to d30v_print_operand_memory_reference:", x); + fatal_insn ("bad insn to d30v_print_operand_memory_reference:", x); /* fall through */ case REG: @@ -2785,7 +2785,7 @@ d30v_print_operand_memory_reference (stream, x) break; default: - fatal_insn ("Bad insn to d30v_print_operand_memory_reference:", x); + fatal_insn ("bad insn to d30v_print_operand_memory_reference:", x); } } @@ -2853,7 +2853,7 @@ d30v_print_operand (stream, x, letter) case 'f': /* Print a SF floating constant as an int */ if (GET_CODE (x) != CONST_DOUBLE) - fatal_insn ("Bad insn to d30v_print_operand, 'f' modifier:", x); + fatal_insn ("bad insn to d30v_print_operand, 'f' modifier:", x); REAL_VALUE_FROM_CONST_DOUBLE (rv, x); REAL_VALUE_TO_TARGET_SINGLE (rv, num); @@ -2862,14 +2862,14 @@ d30v_print_operand (stream, x, letter) case 'A': /* Print accumulator number without an `a' in front of it. */ if (GET_CODE (x) != REG || !ACCUM_P (REGNO (x))) - fatal_insn ("Bad insn to d30v_print_operand, 'A' modifier:", x); + fatal_insn ("bad insn to d30v_print_operand, 'A' modifier:", x); putc ('0' + REGNO (x) - ACCUM_FIRST, stream); break; case 'M': /* Print a memory reference for ld/st */ if (GET_CODE (x) != MEM) - fatal_insn ("Bad insn to d30v_print_operand, 'M' modifier:", x); + fatal_insn ("bad insn to d30v_print_operand, 'M' modifier:", x); d30v_print_operand_memory_reference (stream, XEXP (x, 0)); break; @@ -2923,7 +2923,7 @@ d30v_print_operand (stream, x, letter) fputs ((letter == 'T') ? "tnz" : "tzr", stream); else - fatal_insn ("Bad insn to print_operand, 'F' or 'T' modifier:", x); + fatal_insn ("bad insn to print_operand, 'F' or 'T' modifier:", x); break; case 'B': /* emit offset single bit to change */ @@ -2934,14 +2934,14 @@ d30v_print_operand (stream, x, letter) fprintf (stream, "%d", 31 - log); else - fatal_insn ("Bad insn to print_operand, 'B' modifier:", x); + fatal_insn ("bad insn to print_operand, 'B' modifier:", x); break; case 'E': /* Print u if this is zero extend, nothing if sign extend. */ if (GET_CODE (x) == ZERO_EXTEND) putc ('u', stream); else if (GET_CODE (x) != SIGN_EXTEND) - fatal_insn ("Bad insn to print_operand, 'E' modifier:", x); + fatal_insn ("bad insn to print_operand, 'E' modifier:", x); break; case 'R': /* Return appropriate cmp instruction for relational test. */ @@ -2959,7 +2959,7 @@ d30v_print_operand (stream, x, letter) case GEU: fputs ("cmpuge", stream); break; default: - fatal_insn ("Bad insn to print_operand, 'R' modifier:", x); + fatal_insn ("bad insn to print_operand, 'R' modifier:", x); } break; @@ -2968,7 +2968,7 @@ d30v_print_operand (stream, x, letter) fprintf (stream, "%d", (int) (32 - INTVAL (x))); else - fatal_insn ("Bad insn to print_operand, 's' modifier:", x); + fatal_insn ("bad insn to print_operand, 's' modifier:", x); break; case 'S': /* Subtract 32. */ @@ -2976,7 +2976,7 @@ d30v_print_operand (stream, x, letter) fprintf (stream, "%d", (int)(INTVAL (x) - 32)); else - fatal_insn ("Bad insn to print_operand, 's' modifier:", x); + fatal_insn ("bad insn to print_operand, 's' modifier:", x); break; @@ -3005,7 +3005,7 @@ d30v_print_operand (stream, x, letter) d30v_print_operand_address (stream, x); else - fatal_insn ("Bad insn in d30v_print_operand, 0 case", x); + fatal_insn ("bad insn in d30v_print_operand, 0 case", x); return; @@ -3013,7 +3013,7 @@ d30v_print_operand (stream, x, letter) { char buf[80]; - sprintf (buf, "Invalid asm template character '%%%c'", letter); + sprintf (buf, "invalid asm template character '%%%c'", letter); fatal_insn (buf, x); } } @@ -3404,7 +3404,7 @@ d30v_move_2words (operands, insn) && GPR_P (REGNO (operands[1]))) return "st2w %1,%M0"; - fatal_insn ("Bad call to d30v_move_2words", insn); + fatal_insn ("bad call to d30v_move_2words", insn); } diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index 841105d..3133a51 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -455,10 +455,10 @@ extern int target_flags; N_("Debug memory address support in compiler") }, \ \ { "asm-optimize", 0, \ - N_("Make adjacent short instructions parallel if possible.") }, \ + N_("Make adjacent short instructions parallel if possible") }, \ \ { "no-asm-optimize", 0, \ - N_("Do not make adjacent short instructions parallel.") }, \ + N_("Do not make adjacent short instructions parallel") }, \ \ { "extmem", 0, \ N_("Link programs/data to be in external memory by default") }, \ diff --git a/gcc/config/dsp16xx/dsp16xx.c b/gcc/config/dsp16xx/dsp16xx.c index a0a8045..2d9da2b 100644 --- a/gcc/config/dsp16xx/dsp16xx.c +++ b/gcc/config/dsp16xx/dsp16xx.c @@ -1436,7 +1436,7 @@ dsp16xx_output_function_prologue (file, size) if (SMALL_INTVAL(current_frame_info.var_size) && ((current_frame_info.var_size & 0x8000) == 0)) fprintf (file, "\t%s=%ld\n\t*%s++%s\n", reg_names[REG_J], current_frame_info.var_size, sp, reg_names[REG_J]); else - fatal_error ("Stack size > 32k"); + fatal_error ("stack size > 32k"); } } @@ -1459,7 +1459,7 @@ dsp16xx_output_function_prologue (file, size) if (current_frame_info.args_size == 1) fprintf (file, "\t*%s++\n", sp); else - error ("Stack size > 32k"); + error ("stack size > 32k"); } if (frame_pointer_needed) @@ -1668,7 +1668,7 @@ double_reg_to_memory (operands) else if (GET_CODE (XEXP(addr,1)) == CONST_INT) offset = INTVAL(XEXP(addr,1)) + 1; else - fatal_error ("Invalid addressing mode"); + fatal_error ("invalid addressing mode"); fprintf (asm_out_file, "\t*(%d)=%s\n", offset + 31, reg_names[REGNO(operands[1]) + 1]); } @@ -1847,7 +1847,7 @@ print_operand(file, op, letter) else if (letter == 'm') fprintf (file, "%s", himode_reg_name[REGNO (op)]); else - output_operand_lossage ("Bad register extension code"); + output_operand_lossage ("bad register extension code"); } else if (code == MEM) output_address (XEXP(op,0)); @@ -1946,10 +1946,10 @@ print_operand_address(file, addr) if (offset >= -31 && offset <= 0) offset = 31 + offset; else - fatal_error ("Invalid offset in ybase addressing"); + fatal_error ("invalid offset in ybase addressing"); } else - fatal_error ("Invalid register in ybase addressing"); + fatal_error ("invalid register in ybase addressing"); fprintf (file, "*(%d)", offset); break; @@ -2128,7 +2128,7 @@ emit_1600_core_shift (shift_op, operands, shift_amount) shift_asm_ptr_first = lshift_right_asm_first; } else - fatal_error ("Invalid shift operator in emit_1600_core_shift"); + fatal_error ("invalid shift operator in emit_1600_core_shift"); while (shift_amount != 0) { @@ -2495,7 +2495,7 @@ gen_tst_reg (x) else if (mode == HImode) emit_insn (gen_rtx_SET (VOIDmode, cc0_rtx, x)); else - fatal_error ("Invalid mode for gen_tst_reg"); + fatal_error ("invalid mode for gen_tst_reg"); return cc0_rtx; } @@ -2567,7 +2567,7 @@ gen_compare_reg (code, x, y) force_reg (HImode,y)))); } else - fatal_error ("Invalid mode for integer comparison in gen_compare_reg"); + fatal_error ("invalid mode for integer comparison in gen_compare_reg"); return cc0_rtx; } diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index 04aca6c..215b452 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -100,7 +100,7 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall; %{mmap3:m3_crt0.o%s} \ %{mmap4:m4_crt0.o%s} \ %{!mmap*: %{!ifile*: m4_crt0.o%s} %{ifile*: \ -%eA -ifile option requires a -map option}}" +%ea -ifile option requires a -map option}}" /* Specify the end file to link with */ @@ -109,7 +109,7 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall; %{mmap3:m3_crtn.o%s} \ %{mmap4:m4_crtn.o%s} \ %{!mmap*: %{!ifile*: m4_crtn.o%s} %{ifile*: \ -%eA -ifile option requires a -map option}}" +%ea -ifile option requires a -map option}}" /* Tell gcc where to look for the startfile */ @@ -1233,17 +1233,17 @@ extern struct dsp16xx_frame_info current_frame_info; for profiling a function entry. */ #define FUNCTION_PROFILER(FILE, LABELNO) \ - internal_error ("Profiling not implemented yet.") + internal_error ("profiling not implemented yet") /* Output assembler code to FILE to initialize this source file's basic block profiling info, if that has not already been done. */ #define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \ - internal_error ("Profiling not implemented yet.") + internal_error ("profiling not implemented yet") /* Output assembler code to FILE to increment the entry-count for the BLOCKNO'th basic block in this source file. */ #define BLOCK_PROFILER(FILE, BLOCKNO) \ - internal_error ("Profiling not implemented yet.") + internal_error ("profiling not implemented yet") /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function, @@ -1254,7 +1254,7 @@ extern struct dsp16xx_frame_info current_frame_info; #define EXIT_IGNORE_STACK (0) #define TRAMPOLINE_TEMPLATE(FILE) \ - internal_error ("Trampolines not yet implemented"); + internal_error ("trampolines not yet implemented"); /* Length in units of the trampoline for entering a nested function. This is a dummy value */ @@ -1266,7 +1266,7 @@ extern struct dsp16xx_frame_info current_frame_info; CXT is an RTX for the static chain value for the function. */ #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \ - internal_error ("Trampolines not yet implemented"); + internal_error ("trampolines not yet implemented"); /* A C expression which is nonzero if a function must have and use a frame pointer. If its value is nonzero the functions will have a @@ -1855,12 +1855,12 @@ const_section () \ /* This is how to output an insn to push a register on the stack. It need not be very fast code since it is used only for profiling */ #define ASM_OUTPUT_REG_PUSH(FILE,REGNO) \ - internal_error ("Profiling not implemented yet."); + internal_error ("profiling not implemented yet"); /* This is how to output an insn to pop a register from the stack. It need not be very fast code since it is used only for profiling */ #define ASM_OUTPUT_REG_POP(FILE,REGNO) \ - internal_error ("Profiling not implemented yet."); + internal_error ("profiling not implemented yet"); /* OUTPUT OF DISPATCH TABLES */ diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 882019e..0a66235 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -135,7 +135,7 @@ h8300_init_once () if (!TARGET_H8300S && TARGET_MAC) { - error ("-ms2600 is used without -ms."); + error ("-ms2600 is used without -ms"); target_flags |= 1; } } @@ -3197,7 +3197,7 @@ h8300_handle_eightbit_data_attribute (node, name, args, flags, no_add_attrs) { if (DECL_INITIAL (decl) == NULL_TREE) { - warning ("Only initialized variables can be placed into the 8-bit area."); + warning ("only initialized variables can be placed into the 8-bit area"); *no_add_attrs = true; } else @@ -3228,7 +3228,7 @@ h8300_handle_tiny_data_attribute (node, name, args, flags, no_add_attrs) { if (DECL_INITIAL (decl) == NULL_TREE) { - warning ("Only initialized variables can be placed into the 8-bit area."); + warning ("only initialized variables can be placed into the 8-bit area"); *no_add_attrs = true; } else diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index edd0fc2..cc4aa5c 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -200,8 +200,8 @@ Boston, MA 02111-1307, USA. */ #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ - { "no-bnu210", -MASK_BNU210, "Ignored (obsolete)." }, \ - { "bnu210", MASK_BNU210, "Ignored (obsolete)." }, + { "no-bnu210", -MASK_BNU210, "Ignored (obsolete)" }, \ + { "bnu210", MASK_BNU210, "Ignored (obsolete)" }, /* Warn that -mbnu210 is now obsolete. */ #undef SUBTARGET_OVERRIDE_OPTIONS @@ -210,7 +210,7 @@ do \ { \ if (target_flags & MASK_BNU210) \ { \ - warning ("-mbnu210 is ignored (option is obsolete)."); \ + warning ("-mbnu210 is ignored (option is obsolete)"); \ } \ } \ while (0) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b522035..410b310 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -845,7 +845,7 @@ override_options () if (!strcmp (ix86_cmodel_string, "small")) ix86_cmodel = flag_pic ? CM_SMALL_PIC : CM_SMALL; else if (flag_pic) - sorry ("Code model %s not supported in PIC mode", ix86_cmodel_string); + sorry ("code model %s not supported in PIC mode", ix86_cmodel_string); else if (!strcmp (ix86_cmodel_string, "32")) ix86_cmodel = CM_32; else if (!strcmp (ix86_cmodel_string, "kernel") && !flag_pic) @@ -864,12 +864,12 @@ override_options () ix86_cmodel = flag_pic ? CM_SMALL_PIC : CM_SMALL; } if ((TARGET_64BIT == 0) != (ix86_cmodel == CM_32)) - error ("Code model `%s' not supported in the %s bit mode.", + error ("code model `%s' not supported in the %s bit mode", ix86_cmodel_string, TARGET_64BIT ? "64" : "32"); if (ix86_cmodel == CM_LARGE) - sorry ("Code model `large' not supported yet."); + sorry ("code model `large' not supported yet"); if ((TARGET_64BIT != 0) != ((target_flags & MASK_64BIT) != 0)) - sorry ("%i-bit mode not compiled in.", + sorry ("%i-bit mode not compiled in", (target_flags & MASK_64BIT) ? 64 : 32); if (ix86_arch_string != 0) @@ -1023,9 +1023,9 @@ override_options () if (TARGET_64BIT) { if (TARGET_ALIGN_DOUBLE) - error ("-malign-double makes no sense in the 64bit mode."); + error ("-malign-double makes no sense in the 64bit mode"); if (TARGET_RTD) - error ("-mrtd calling convention not supported in the 64bit mode."); + error ("-mrtd calling convention not supported in the 64bit mode"); /* Enable by default the SSE and MMX builtins. */ target_flags |= MASK_SSE2 | MASK_SSE | MASK_MMX | MASK_128BIT_LONG_DOUBLE; } @@ -5394,7 +5394,7 @@ print_reg (x, code, file) switch (code) { case 0: - error ("Extended registers have no high halves\n"); + error ("extended registers have no high halves"); break; case 1: fprintf (file, "r%ib", REGNO (x) - FIRST_REX_INT_REG + 8); @@ -5409,7 +5409,7 @@ print_reg (x, code, file) fprintf (file, "r%i", REGNO (x) - FIRST_REX_INT_REG + 8); break; default: - error ("Unsupported operand size for extended register.\n"); + error ("unsupported operand size for extended register"); break; } return; @@ -9851,7 +9851,7 @@ ix86_attr_length_immediate_default (insn, shortform) len+=4; break; default: - fatal_insn ("Unknown insn mode", insn); + fatal_insn ("unknown insn mode", insn); } } } diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 3b2ce41..d4abbbf 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ #define HALF_PIC_NUMBER_REFS 0 #define HALF_PIC_ENCODE(DECL) #define HALF_PIC_DECLARE(NAME) -#define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it.") +#define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it") #define HALF_PIC_ADDRESS_P(X) 0 #define HALF_PIC_PTR(X) X #define HALF_PIC_FINISH(STREAM) @@ -359,9 +359,9 @@ extern const int x86_epilogue_using_move, x86_decompose_lea; { "no-mix-sse-i387", -MASK_MIX_SSE_I387, \ N_("Do not use both SSE and i387 instruction sets for floating point arithmetics") },\ { "128bit-long-double", MASK_128BIT_LONG_DOUBLE, \ - N_("sizeof(long double) is 16.") }, \ + N_("sizeof(long double) is 16") }, \ { "96bit-long-double", -MASK_128BIT_LONG_DOUBLE, \ - N_("sizeof(long double) is 12.") }, \ + N_("sizeof(long double) is 12") }, \ { "64", MASK_64BIT, \ N_("Generate 64bit x86-64 code") }, \ { "32", -MASK_64BIT, \ diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index f97c637..9d955df 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -259,7 +259,7 @@ i386_pe_mark_dllimport (decl) abort (); if (i386_pe_dllexport_name_p (oldname)) { - error ("`%s' declared as both exported to and imported from a DLL.", + error ("`%s' declared as both exported to and imported from a DLL", IDENTIFIER_POINTER (DECL_NAME (decl))); return; } diff --git a/gcc/config/i386/xm-djgpp.h b/gcc/config/i386/xm-djgpp.h index b8367ac..71cb116 100644 --- a/gcc/config/i386/xm-djgpp.h +++ b/gcc/config/i386/xm-djgpp.h @@ -68,12 +68,12 @@ Boston, MA 02111-1307, USA. */ to try and figure out what's wrong. */ \ char *djgpp = getenv ("DJGPP"); \ if (djgpp == NULL) \ - fatal ("Environment variable DJGPP not defined."); \ + fatal ("environment variable DJGPP not defined"); \ else if (access (djgpp, R_OK) == 0) \ - fatal ("Environment variable DJGPP points to missing file '%s'.", \ + fatal ("environment variable DJGPP points to missing file '%s'", \ djgpp); \ else \ - fatal ("Environment variable DJGPP points to corrupt file '%s'.", \ + fatal ("environment variable DJGPP points to corrupt file '%s'", \ djgpp); \ } \ standard_exec_prefix = update_path (standard_exec_prefix, NULL); \ diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 2dfc88b..1184295 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -376,7 +376,7 @@ extern int target_flags; } \ /* ??? See the LONG_DOUBLE_TYPE_SIZE definition below. */ \ if (TARGET_LONG_DOUBLE_64) \ - warning ("The -mlong-double-64 option does not work yet.");\ + warning ("the -mlong-double-64 option does not work yet");\ i960_initialize (); \ } diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index baca932..3f0b0c8 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -173,7 +173,7 @@ extern const char *ia64_fixed_range_string; #define TARGET_OPTIONS \ { \ { "fixed-range=", &ia64_fixed_range_string, \ - N_("Specify range of registers to make fixed.")}, \ + N_("Specify range of registers to make fixed")}, \ } /* Sometimes certain combinations of command options do not make sense on a diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 837fbda..7c84821 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -2297,7 +2297,7 @@ m32r_print_operand (file, x, code) if (GET_CODE (x) != CONST_DOUBLE || GET_MODE_CLASS (GET_MODE (x)) != MODE_FLOAT) - fatal_insn ("Bad insn for 'A'", x); + fatal_insn ("bad insn for 'A'", x); REAL_VALUE_FROM_CONST_DOUBLE (d, x); REAL_VALUE_TO_DECIMAL (d, "%.20e", str); fprintf (file, "%s", str); @@ -2417,21 +2417,21 @@ m32r_print_operand (file, x, code) if (GET_CODE (addr) == PRE_INC) { if (GET_CODE (XEXP (addr, 0)) != REG) - fatal_insn ("Pre-increment address is not a register", x); + fatal_insn ("pre-increment address is not a register", x); fprintf (file, "@+%s", reg_names[REGNO (XEXP (addr, 0))]); } else if (GET_CODE (addr) == PRE_DEC) { if (GET_CODE (XEXP (addr, 0)) != REG) - fatal_insn ("Pre-decrement address is not a register", x); + fatal_insn ("pre-decrement address is not a register", x); fprintf (file, "@-%s", reg_names[REGNO (XEXP (addr, 0))]); } else if (GET_CODE (addr) == POST_INC) { if (GET_CODE (XEXP (addr, 0)) != REG) - fatal_insn ("Post-increment address is not a register", x); + fatal_insn ("post-increment address is not a register", x); fprintf (file, "@%s+", reg_names[REGNO (XEXP (addr, 0))]); } @@ -2509,7 +2509,7 @@ m32r_print_operand_address (file, addr) fputs (reg_names[REGNO (base)], file); } else - fatal_insn ("Bad address", addr); + fatal_insn ("bad address", addr); } else if (GET_CODE (base) == LO_SUM) { @@ -2525,12 +2525,12 @@ m32r_print_operand_address (file, addr) fputs (reg_names[REGNO (XEXP (base, 0))], file); } else - fatal_insn ("Bad address", addr); + fatal_insn ("bad address", addr); break; case LO_SUM : if (GET_CODE (XEXP (addr, 0)) != REG) - fatal_insn ("Lo_sum not of register", addr); + fatal_insn ("lo_sum not of register", addr); if (small_data_operand (XEXP (addr, 1), VOIDmode)) fputs ("sda(", file); else diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c index 3c2ff09..dd3c308 100644 --- a/gcc/config/m68hc11/m68hc11.c +++ b/gcc/config/m68hc11/m68hc11.c @@ -3025,7 +3025,7 @@ m68hc11_gen_movhi (insn, operands) else { /* !!!! SCz wrong here. */ - fatal_insn ("Move insn not handled", insn); + fatal_insn ("move insn not handled", insn); } } else @@ -3245,7 +3245,7 @@ m68hc11_gen_movhi (insn, operands) break; default: - fatal_insn ("Invalid register in the move instruction", insn); + fatal_insn ("invalid register in the move instruction", insn); break; } return; @@ -3279,7 +3279,7 @@ m68hc11_gen_movhi (insn, operands) /* Operand 1 must be a hard register. */ if (!H_REG_P (operands[1])) { - fatal_insn ("Invalid operand in the instruction", insn); + fatal_insn ("invalid operand in the instruction", insn); } reg = REGNO (operands[1]); @@ -3329,7 +3329,7 @@ m68hc11_gen_movhi (insn, operands) break; default: - fatal_insn ("Invalid register in the move instruction", insn); + fatal_insn ("invalid register in the move instruction", insn); break; } } @@ -3399,7 +3399,7 @@ m68hc11_gen_movqi (insn, operands) else { /* !!!! SCz wrong here. */ - fatal_insn ("Move insn not handled", insn); + fatal_insn ("move insn not handled", insn); } } else @@ -3576,7 +3576,7 @@ m68hc11_gen_movqi (insn, operands) break; default: - fatal_insn ("Invalid register in the instruction", insn); + fatal_insn ("invalid register in the instruction", insn); break; } } @@ -3602,14 +3602,14 @@ m68hc11_gen_movqi (insn, operands) break; default: - fatal_insn ("Invalid register in the move instruction", insn); + fatal_insn ("invalid register in the move instruction", insn); break; } return; } else { - fatal_insn ("Operand 1 must be a hard register", insn); + fatal_insn ("operand 1 must be a hard register", insn); } } @@ -3626,7 +3626,7 @@ m68hc11_gen_rotate (code, insn, operands) if (GET_CODE (operands[2]) != CONST_INT || (!D_REG_P (operands[0]) && !DA_REG_P (operands[0]))) - fatal_insn ("Invalid rotate insn", insn); + fatal_insn ("invalid rotate insn", insn); val = INTVAL (operands[2]); if (code == ROTATERT) @@ -4046,7 +4046,7 @@ m68hc11_check_z_replacement (insn, info) if (this_insn_uses_z && this_insn_uses_ix && this_insn_uses_iy) { - fatal_insn ("Registers IX, IY and Z used in the same INSN", insn); + fatal_insn ("registers IX, IY and Z used in the same INSN", insn); } if (this_insn_uses_d) @@ -4366,7 +4366,7 @@ m68hc11_check_z_replacement (insn, info) { if (this_insn_uses_z) { - fatal_insn ("Cannot do z-register replacement", insn); + fatal_insn ("cannot do z-register replacement", insn); } return 0; } @@ -4671,7 +4671,7 @@ m68hc11_z_replacement (insn) { INSN_CODE (insn) = -1; if (!validate_replace_rtx (z_reg, replace_reg, insn)) - fatal_insn ("Cannot do z-register replacement", insn); + fatal_insn ("cannot do z-register replacement", insn); } /* Likewise for (REG:QI Z). */ @@ -4720,7 +4720,7 @@ m68hc11_z_replacement (insn) if (!validate_replace_rtx (z_reg, replace_reg, info.last)) { - fatal_insn ("Invalid Z register replacement for insn", insn); + fatal_insn ("invalid Z register replacement for insn", insn); } insn = NEXT_INSN (info.last); } @@ -4797,7 +4797,7 @@ m68hc11_reassign_regs (first) } else { - printf ("Insn not handled by Z replacement:\n"); + printf ("insn not handled by Z replacement:\n"); fflush (stdout); debug_rtx (insn); } diff --git a/gcc/config/m88k/m88k.c b/gcc/config/m88k/m88k.c index 7de5af6..6dc4340 100644 --- a/gcc/config/m88k/m88k.c +++ b/gcc/config/m88k/m88k.c @@ -886,7 +886,7 @@ output_call (operands, addr) - 2); #if (MONITOR_GCC & 0x2) /* How often do long branches happen? */ if ((unsigned) (delta + 0x8000) >= 0x10000) - warning ("Internal gcc monitor: short-branch(%x)", delta); + warning ("internal gcc monitor: short-branch(%x)", delta); #endif /* Delete the jump. */ @@ -2289,7 +2289,7 @@ m88k_debugger_offset (reg, offset) #if (MONITOR_GCC & 0x10) /* Watch for suspicious symbolic locations. */ if (! (GET_CODE (reg) == REG && REGNO (reg) >= FIRST_PSEUDO_REGISTER)) - warning ("Internal gcc error: Can't express symbolic location"); + warning ("internal gcc error: Can't express symbolic location"); #endif return 0; } diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 3d802e8..698f4b8 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -296,7 +296,7 @@ extern int flag_pic; /* -fpic */ p++; \ else \ { \ - error ("Invalid option `-mshort-data-%s'", m88k_short_data); \ + error ("invalid option `-mshort-data-%s'", m88k_short_data); \ break; \ } \ m88k_gp_threshold = atoi (m88k_short_data); \ diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index efe052f..e490108 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -3073,7 +3073,7 @@ mcore_override_options () || (mcore_stack_increment == 0 && (mcore_stack_increment_string[0] != '0' || mcore_stack_increment_string[1] != 0))) - error ("Invalid option `-mstack-increment=%s'", + error ("invalid option `-mstack-increment=%s'", mcore_stack_increment_string); } diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h index e19b047..c788f10 100644 --- a/gcc/config/mcore/mcore.h +++ b/gcc/config/mcore/mcore.h @@ -125,7 +125,7 @@ extern int target_flags; { {"hardlit", HARDLIT_BIT, \ N_("Inline constants if it can be done in 2 insns or less") }, \ {"no-hardlit", - HARDLIT_BIT, \ - N_("inline constants if it only takes 1 instruction") }, \ + N_("Inline constants if it only takes 1 instruction") }, \ {"4align", - ALIGN8_BIT, \ N_("Set maximum alignment to 4") }, \ {"8align", ALIGN8_BIT, \ diff --git a/gcc/config/mips/isa3264.h b/gcc/config/mips/isa3264.h index cde7227..a427d72 100644 --- a/gcc/config/mips/isa3264.h +++ b/gcc/config/mips/isa3264.h @@ -120,12 +120,12 @@ Boston, MA 02111-1307, USA. */ %{!mips1:%{!mips2:%{!mips32:%{!mlong32:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int}}}}} \ %{mabi=o64:\ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int \ - %{mlong32:%e-mlong32 and -mlong64 can not both be specified.}} \ + %{mlong32:%e-mlong32 and -mlong64 can not both be specified}} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int }} \ %{mabi=32:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{mabi=meabi|!mabi=*:\ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int \ - %{mlong32:%e-mlong32 and -mlong64 can not both be specified.}} \ + %{mlong32:%e-mlong32 and -mlong64 can not both be specified}} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int }} \ " @@ -137,12 +137,12 @@ Boston, MA 02111-1307, USA. */ %{!mips3:%{!mips4:%{!mips5:%{!mips64:%{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}}}}}} \ %{mabi=o64:\ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int \ - %{mlong32:%e-mlong32 and -mlong64 can not both be specified.}} \ + %{mlong32:%e-mlong32 and -mlong64 can not both be specified}} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int }} \ %{mabi=32:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{mabi=meabi|!mabi=*:\ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int \ - %{mlong32:%e-mlong32 and -mlong64 can not both be specified.}} \ + %{mlong32:%e-mlong32 and -mlong64 can not both be specified}} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int }} \ " #endif /* ISA */ diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 6711b16..ac29ac9 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -2240,7 +2240,7 @@ mips_move_1word (operands, insn, unsignedp) if (ret == 0) { - abort_with_insn (insn, "Bad move"); + abort_with_insn (insn, "bad move"); return 0; } @@ -2328,7 +2328,7 @@ mips_move_2words (operands, insn) if (TARGET_FLOAT64) { if (!TARGET_64BIT) - abort_with_insn (insn, "Bad move"); + abort_with_insn (insn, "bad move"); #ifdef TARGET_FP_CALL_32 if (FP_CALL_GP_REG_P (regno1)) @@ -2348,7 +2348,7 @@ mips_move_2words (operands, insn) if (TARGET_FLOAT64) { if (!TARGET_64BIT) - abort_with_insn (insn, "Bad move"); + abort_with_insn (insn, "bad move"); #ifdef TARGET_FP_CALL_32 if (FP_CALL_GP_REG_P (regno0)) @@ -2693,7 +2693,7 @@ mips_move_2words (operands, insn) if (ret == 0) { - abort_with_insn (insn, "Bad move"); + abort_with_insn (insn, "bad move"); return 0; } @@ -3621,7 +3621,7 @@ output_block_move (insn, operands, num_regs, move_type) else if (num_regs < 1) abort_with_insn (insn, - "Cannot do block move, not enough scratch registers"); + "cannot do block move, not enough scratch registers"); while (bytes > 0) { @@ -4889,7 +4889,7 @@ override_options () #else if (mips_abi_string) - error ("This target does not support the -mabi switch."); + error ("this target does not support the -mabi switch"); #endif #ifdef MIPS_CPU_STRING_DEFAULT @@ -5119,7 +5119,7 @@ override_options () if (mips_entry_string != NULL) { if (*mips_entry_string != '\0') - error ("Invalid option `entry%s'", mips_entry_string); + error ("invalid option `entry%s'", mips_entry_string); if (! TARGET_MIPS16) warning ("-mentry is only meaningful with -mips-16"); @@ -5324,7 +5324,7 @@ mips_debugger_offset (addr, offset) /* sdbout_parms does not want this to crash for unrecognized cases. */ #if 0 else if (reg != arg_pointer_rtx) - abort_with_insn (addr, "mips_debugger_offset called with non stack/frame/arg pointer."); + abort_with_insn (addr, "mips_debugger_offset called with non stack/frame/arg pointer"); #endif return offset; @@ -5516,7 +5516,7 @@ print_operand (file, op, letter) break; default: - error ("PRINT_OPERAND: Unknown punctuation '%c'", letter); + error ("PRINT_OPERAND: unknown punctuation '%c'", letter); break; } @@ -5708,7 +5708,7 @@ print_operand_address (file, addr) { case REG: if (! TARGET_MIPS16 && REGNO (addr) == ARG_POINTER_REGNUM) - abort_with_insn (addr, "Arg pointer not eliminated."); + abort_with_insn (addr, "arg pointer not eliminated"); fprintf (file, "0(%s)", reg_names [REGNO (addr)]); break; @@ -5719,11 +5719,11 @@ print_operand_address (file, addr) register rtx arg1 = XEXP (addr, 1); if (! mips_split_addresses) - abort_with_insn (addr, "PRINT_OPERAND_ADDRESS, Spurious LO_SUM."); + abort_with_insn (addr, "PRINT_OPERAND_ADDRESS, Spurious LO_SUM"); if (GET_CODE (arg0) != REG) abort_with_insn (addr, - "PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG."); + "PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG"); fprintf (file, "%%lo("); print_operand_address (file, arg1); @@ -5760,7 +5760,7 @@ print_operand_address (file, addr) abort_with_insn (addr, "PRINT_OPERAND_ADDRESS, invalid insn #2"); if (REGNO (reg) == ARG_POINTER_REGNUM) - abort_with_insn (addr, "Arg pointer not eliminated."); + abort_with_insn (addr, "arg pointer not eliminated"); if (TARGET_MIPS16 && GET_CODE (offset) == CONST @@ -6697,7 +6697,7 @@ save_restore_insns (store_p, large_reg, large_offset, file) if (gp_offset < 0 || end_offset < 0) internal_error - ("gp_offset (%ld) or end_offset (%ld) is less than zero.", + ("gp_offset (%ld) or end_offset (%ld) is less than zero", (long) gp_offset, (long) end_offset); /* If we see a large frame in mips16 mode, we save the registers @@ -6859,7 +6859,7 @@ save_restore_insns (store_p, large_reg, large_offset, file) if (fp_offset < 0 || end_offset < 0) internal_error - ("fp_offset (%ld) or end_offset (%ld) is less than zero.", + ("fp_offset (%ld) or end_offset (%ld) is less than zero", (long) fp_offset, (long) end_offset); else if (fp_offset < 32768) @@ -7265,7 +7265,7 @@ mips_expand_prologue () pattern = RTVEC_ELT (adjust, i); if (GET_CODE (pattern) != SET || GET_CODE (SET_SRC (pattern)) != ASHIFT) - abort_with_insn (pattern, "Insn is not a shift"); + abort_with_insn (pattern, "insn is not a shift"); PUT_CODE (SET_SRC (pattern), ASHIFTRT); insn = emit_insn (pattern); diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 2a6dd44..106026b 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -183,7 +183,7 @@ extern void sbss_section PARAMS ((void)); #define HALF_PIC_NUMBER_REFS 0 #define HALF_PIC_ENCODE(DECL) #define HALF_PIC_DECLARE(NAME) -#define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it.") +#define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it") #define HALF_PIC_ADDRESS_P(X) 0 #define HALF_PIC_PTR(X) X #define HALF_PIC_FINISH(STREAM) @@ -851,7 +851,7 @@ while (0) #define MIPS_AS_ASM_SPEC "\ %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} \ -%{pipe: %e-pipe is not supported.} \ +%{pipe: %e-pipe is not supported} \ %{K} %(subtarget_mips_as_asm_spec)" /* SUBTARGET_MIPS_AS_ASM_SPEC is passed when using the MIPS assembler diff --git a/gcc/config/mips/r3900.h b/gcc/config/mips/r3900.h index d2f5495..8fee4e7 100644 --- a/gcc/config/mips/r3900.h +++ b/gcc/config/mips/r3900.h @@ -25,9 +25,9 @@ Boston, MA 02111-1307, USA. */ #define SUBTARGET_CPP_SPEC "\ %{!mabi=32: %{!mabi=n32: %{!mabi=64: -D__mips_eabi}}} \ %{!msingle-float:-D__mips_soft_float} \ -%{mhard-float:%e-mhard-float not supported.} \ +%{mhard-float:%e-mhard-float not supported} \ %{msingle-float:%{msoft-float: \ - %e-msingle-float and -msoft-float can not both be specified.}}" + %e-msingle-float and -msoft-float can not both be specified}}" /* The following is needed because -mips3 and -mips4 set gp64 which in combination with abi=eabi, causes long64 to be set. */ @@ -39,9 +39,9 @@ Boston, MA 02111-1307, USA. */ /* by default (if not mips-something-else) produce code for the r3900 */ #define SUBTARGET_CC1_SPEC "\ -%{mhard-float:%e-mhard-float not supported.} \ +%{mhard-float:%e-mhard-float not supported} \ %{msingle-float:%{msoft-float: \ - %e-msingle-float and -msoft-float can not both be specified.}}" + %e-msingle-float and -msoft-float can not both be specified}}" #define MIPS_CPU_STRING_DEFAULT "R3900" #define MIPS_ISA_DEFAULT 1 diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 42ee8ed..73abc79 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -554,7 +554,7 @@ mmix_function_outgoing_value (valtype, func) swapped registers.) */ if (nregs > MMIX_MAX_REGS_FOR_VALUE) - internal_error ("Too large function value type, needs %d registers,\ + internal_error ("too large function value type, needs %d registers,\ have only %d registers for this", nregs, MMIX_MAX_REGS_FOR_VALUE); /* FIXME: Maybe we should handle structure values like this too @@ -669,7 +669,7 @@ mmix_target_asm_function_prologue (stream, locals_size) /* Make sure we don't get an unaligned stack. */ if ((stack_space_to_allocate % 8) != 0) - internal_error ("Stack frame not a multiple of 8 bytes: %d", + internal_error ("stack frame not a multiple of 8 bytes: %d", stack_space_to_allocate); if (current_function_pretend_args_size) @@ -1026,7 +1026,7 @@ mmix_target_asm_function_epilogue (stream, locals_size) /* Make sure we don't get an unaligned stack. */ if ((stack_space_to_deallocate % 8) != 0) - internal_error ("Stack frame not a multiple of octabyte: %d", + internal_error ("stack frame not a multiple of octabyte: %d", stack_space_to_deallocate); /* We will add back small offsets to the stack pointer as we go. @@ -1260,7 +1260,7 @@ mmix_setup_incoming_varargs (args_so_farp, mode, vartype, pretend_sizep, args_so_farp->now_varargs = 1; } else - internal_error ("Neither varargs or stdarg in mmix_setup_incoming_varargs"); + internal_error ("neither varargs or stdarg in mmix_setup_incoming_varargs"); /* We assume that one argument takes up one register here. That should @@ -1589,7 +1589,7 @@ mmix_canonicalize_comparison (codep, op0p, op1p) && INTVAL (*op1p) == 256) { /* FIXME: Remove when I know this trigs. */ - fatal_insn ("Oops, not debugged; fixing up value:", *op1p); + fatal_insn ("oops, not debugged; fixing up value:", *op1p); *codep = *codep == LT ? LE : *codep == LTU ? LEU : *codep == GE ? GT : GTU; *op1p = GEN_INT (255); @@ -2257,7 +2257,7 @@ mmix_print_operand (stream, x, code) case 'r': /* Store the register to output a constant to. */ if (! REG_P (x)) - fatal_insn ("MMIX Internal: Expected a register, not this.", x); + fatal_insn ("MMIX Internal: Expected a register, not this", x); mmix_output_destination_register = REGNO (x); return; @@ -2267,7 +2267,7 @@ mmix_print_operand (stream, x, code) && (GET_CODE (x) != CONST_DOUBLE || (GET_MODE (x) != VOIDmode && GET_MODE (x) != DFmode && GET_MODE (x) != SFmode))) - fatal_insn ("MMIX Internal: Expected a constant, not this.", x); + fatal_insn ("MMIX Internal: Expected a constant, not this", x); mmix_output_register_setting (stream, mmix_output_destination_register, mmix_intval (x), 0); diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 5d72ce9..6f76793 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -185,7 +185,7 @@ extern int target_flags; {"no-zero-extend", -TARGET_MASK_ZERO_EXTEND, ""}, \ {"knuthdiv", TARGET_MASK_KNUTH_DIVISION, \ N_("Generate divide results with reminder having the same sign as the\ - divisor (not the dividend).")}, \ + divisor (not the dividend)")}, \ {"no-knuthdiv", -TARGET_MASK_KNUTH_DIVISION, ""}, \ {"toplevel-symbols", TARGET_MASK_TOPLEVEL_SYMBOLS, \ N_("Prepend global symbols with \":\" (for use with PREFIX)")}, \ diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h index 4be9e71..94309ef 100644 --- a/gcc/config/nextstep.h +++ b/gcc/config/nextstep.h @@ -160,10 +160,10 @@ Boston, MA 02111-1307, USA. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ "%{!posix*:%{pg:-lgcrt0.o}%{!pg: \ - %{p:%e-p profiling is no longer supported. Use -pg instead.} \ + %{p:%e-p profiling is no longer supported. Use -pg instead} \ %{!p:-lcrt0.o}}}\ %{posix*:%{pg:-lgposixcrt0.o}%{!pg: \ - %{p:%e-p profiling is no longer supported. Use -pg instead.} \ + %{p:%e-p profiling is no longer supported. Use -pg instead} \ %{!p:-lposixcrt0.o}}} \ -lcrtbegin.o" diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 3128c51..a4726fb 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -159,7 +159,7 @@ override_options () } else { - warning ("Unknown -mschedule= option (%s).\nValid options are 700, 7100, 7100LC, 7200, and 8000\n", pa_cpu_string); + warning ("unknown -mschedule= option (%s).\nValid options are 700, 7100, 7100LC, 7200, and 8000\n", pa_cpu_string); } /* Set the instruction set architecture. */ @@ -184,7 +184,7 @@ override_options () } else if (pa_arch_string) { - warning ("Unknown -march= option (%s).\nValid options are 1.0, 1.1, and 2.0\n", pa_arch_string); + warning ("unknown -march= option (%s).\nValid options are 1.0, 1.1, and 2.0\n", pa_arch_string); } if (flag_pic && TARGET_PORTABLE_RUNTIME) @@ -200,7 +200,7 @@ override_options () if (! TARGET_GAS && write_symbols != NO_DEBUG) { warning ("-g is only supported when using GAS on this processor,"); - warning ("-g option disabled."); + warning ("-g option disabled"); write_symbols = NO_DEBUG; } diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h index 78700ea..89c9654 100644 --- a/gcc/config/rs6000/aix43.h +++ b/gcc/config/rs6000/aix43.h @@ -46,16 +46,16 @@ do { \ if (TARGET_64BIT && (target_flags & NON_POWERPC_MASKS)) \ { \ target_flags &= ~NON_POWERPC_MASKS; \ - warning ("-maix64 and POWER architecture are incompatible."); \ + warning ("-maix64 and POWER architecture are incompatible"); \ } \ if (TARGET_64BIT && ! TARGET_POWERPC64) \ { \ target_flags |= MASK_POWERPC64; \ - warning ("-maix64 requires PowerPC64 architecture remain enabled."); \ + warning ("-maix64 requires PowerPC64 architecture remain enabled"); \ } \ if (TARGET_POWERPC64 && ! TARGET_64BIT) \ { \ - error ("-maix64 required: 64-bit computation with 32-bit addressing not yet supported."); \ + error ("-maix64 required: 64-bit computation with 32-bit addressing not yet supported"); \ } \ } while (0); diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h index a72d986..0d49ff0 100644 --- a/gcc/config/rs6000/aix51.h +++ b/gcc/config/rs6000/aix51.h @@ -46,16 +46,16 @@ do { \ if (TARGET_64BIT && (target_flags & NON_POWERPC_MASKS)) \ { \ target_flags &= ~NON_POWERPC_MASKS; \ - warning ("-maix64 and POWER architecture are incompatible."); \ + warning ("-maix64 and POWER architecture are incompatible"); \ } \ if (TARGET_64BIT && ! TARGET_POWERPC64) \ { \ target_flags |= MASK_POWERPC64; \ - warning ("-maix64 requires PowerPC64 architecture remain enabled."); \ + warning ("-maix64 requires PowerPC64 architecture remain enabled"); \ } \ if (TARGET_POWERPC64 && ! TARGET_64BIT) \ { \ - error ("-maix64 required: 64-bit computation with 32-bit addressing not yet supported."); \ + error ("-maix64 required: 64-bit computation with 32-bit addressing not yet supported"); \ } \ } while (0); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 9bbb6a2..ccb46d7 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -479,7 +479,7 @@ rs6000_override_options (default_cpu) else if (! strcmp (rs6000_debug_name, "arg")) rs6000_debug_arg = 1; else - error ("Unknown -mdebug-%s switch", rs6000_debug_name); + error ("unknown -mdebug-%s switch", rs6000_debug_name); } /* Set size of long double */ @@ -543,7 +543,7 @@ rs6000_parse_abi_options () else if (! strcmp (rs6000_abi_string, "altivec")) rs6000_altivec_abi = 1; else - error ("Unknown ABI specified: '%s'", rs6000_abi_string); + error ("unknown ABI specified: '%s'", rs6000_abi_string); } void diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 3baf686..b30ee97 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -297,9 +297,9 @@ extern int target_flags; {"no-powerpc64", - MASK_POWERPC64, \ N_("Don't use PowerPC-64 instruction set")}, \ {"altivec", MASK_ALTIVEC , \ - N_("Use AltiVec instructions.")}, \ + N_("Use AltiVec instructions")}, \ {"no-altivec", - MASK_ALTIVEC , \ - N_("Don't use AltiVec instructions.")}, \ + N_("Don't use AltiVec instructions")}, \ {"new-mnemonics", MASK_NEW_MNEMONICS, \ N_("Use new mnemonics for PowerPC architecture")},\ {"old-mnemonics", -MASK_NEW_MNEMONICS, \ diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 91478c1..db94589 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -85,8 +85,8 @@ extern const char *rs6000_sdata_name; /* Override rs6000.h definition. */ #undef SUBTARGET_OPTIONS #define SUBTARGET_OPTIONS \ - { "call-", &rs6000_abi_name, N_("Select ABI calling convention.") }, \ - { "sdata=", &rs6000_sdata_name, N_("Select method for sdata handling.") } + { "call-", &rs6000_abi_name, N_("Select ABI calling convention") }, \ + { "sdata=", &rs6000_sdata_name, N_("Select method for sdata handling") } /* Max # of bytes for variables to automatically be put into the .sdata or .sdata2 sections. */ @@ -101,54 +101,54 @@ extern int g_switch_set; /* Whether -G xx was passed. */ #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ { "bit-align", -MASK_NO_BITFIELD_TYPE, \ - N_("Align to the base type of the bitfield.") }, \ + N_("Align to the base type of the bitfield") }, \ { "no-bit-align", MASK_NO_BITFIELD_TYPE, \ - N_("Don't align to the base type of the bitfield.") }, \ + N_("Don't align to the base type of the bitfield") }, \ { "strict-align", MASK_STRICT_ALIGN, \ N_("Don't assume that unaligned accesses are handled by the system") }, \ { "no-strict-align", -MASK_STRICT_ALIGN, \ N_("Assume that unaligned accesses are handled by the system") }, \ { "relocatable", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC, \ - N_("Produce code relocatable at runtime.") }, \ + N_("Produce code relocatable at runtime") }, \ { "no-relocatable", -MASK_RELOCATABLE, \ - N_("Don't produce code relocatable at runtime.") }, \ + N_("Don't produce code relocatable at runtime") }, \ { "relocatable-lib", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC, \ - N_("Produce code relocatable at runtime.") }, \ + N_("Produce code relocatable at runtime") }, \ { "no-relocatable-lib", -MASK_RELOCATABLE, \ - N_("Don't produce code relocatable at runtime.") }, \ + N_("Don't produce code relocatable at runtime") }, \ { "little-endian", MASK_LITTLE_ENDIAN, \ - N_("Produce little endian code.") }, \ + N_("Produce little endian code") }, \ { "little", MASK_LITTLE_ENDIAN, \ - N_("Produce little endian code.") }, \ + N_("Produce little endian code") }, \ { "big-endian", -MASK_LITTLE_ENDIAN, \ - N_("Produce big endian code.") }, \ + N_("Produce big endian code") }, \ { "big", -MASK_LITTLE_ENDIAN, \ - N_("Produce big endian code.") }, \ + N_("Produce big endian code") }, \ { "no-toc", 0, N_("no description yet") }, \ { "toc", MASK_MINIMAL_TOC, N_("no description yet") }, \ { "full-toc", MASK_MINIMAL_TOC, N_("no description yet") }, \ { "prototype", MASK_PROTOTYPE, N_("no description yet") }, \ { "no-prototype", -MASK_PROTOTYPE, N_("no description yet") }, \ { "no-traceback", 0, N_("no description yet") }, \ - { "eabi", MASK_EABI, N_("Use EABI.") }, \ - { "no-eabi", -MASK_EABI, N_("Don't use EABI.") }, \ + { "eabi", MASK_EABI, N_("Use EABI") }, \ + { "no-eabi", -MASK_EABI, N_("Don't use EABI") }, \ { "bit-word", -MASK_NO_BITFIELD_WORD, "" }, \ { "no-bit-word", MASK_NO_BITFIELD_WORD, \ N_("Do not allow bitfields to cross word boundaries") }, \ { "regnames", MASK_REGNAMES, \ - N_("Use alternate register names.") }, \ + N_("Use alternate register names") }, \ { "no-regnames", -MASK_REGNAMES, \ - N_("Don't use alternate register names.") }, \ + N_("Don't use alternate register names") }, \ { "sdata", 0, N_("no description yet") }, \ { "no-sdata", 0, N_("no description yet") }, \ { "sim", 0, \ - N_("Link with libsim.a, libc.a and sim-crt0.o.") }, \ + N_("Link with libsim.a, libc.a and sim-crt0.o") }, \ { "ads", 0, \ - N_("Link with libads.a, libc.a and crt0.o.") }, \ + N_("Link with libads.a, libc.a and crt0.o") }, \ { "yellowknife", 0, \ - N_("Link with libyk.a, libc.a and crt0.o.") }, \ + N_("Link with libyk.a, libc.a and crt0.o") }, \ { "mvme", 0, \ - N_("Link with libmvme.a, libc.a and crt0.o.") }, \ + N_("Link with libmvme.a, libc.a and crt0.o") }, \ { "emb", 0, \ N_("Set the PPC_EMB bit in the ELF flags header") }, \ { "vxworks", 0, N_("no description yet") }, \ @@ -209,7 +209,7 @@ do { \ else \ { \ rs6000_current_abi = ABI_V4; \ - error ("Bad value for -mcall-%s", rs6000_abi_name); \ + error ("bad value for -mcall-%s", rs6000_abi_name); \ } \ \ if (rs6000_sdata_name) \ @@ -225,7 +225,7 @@ do { \ else if (!strcmp (rs6000_sdata_name, "eabi")) \ rs6000_sdata = SDATA_EABI; \ else \ - error ("Bad value for -msdata=%s", rs6000_sdata_name); \ + error ("bad value for -msdata=%s", rs6000_sdata_name); \ } \ else if (DEFAULT_ABI == ABI_V4) \ { \ @@ -242,7 +242,7 @@ do { \ (rs6000_sdata == SDATA_EABI || rs6000_sdata == SDATA_SYSV)) \ { \ rs6000_sdata = SDATA_DATA; \ - error ("-mrelocatable and -msdata=%s are incompatible.", \ + error ("-mrelocatable and -msdata=%s are incompatible", \ rs6000_sdata_name); \ } \ \ @@ -250,7 +250,7 @@ do { \ (rs6000_sdata == SDATA_EABI || rs6000_sdata == SDATA_SYSV)) \ { \ rs6000_sdata = SDATA_DATA; \ - error ("-f%s and -msdata=%s are incompatible.", \ + error ("-f%s and -msdata=%s are incompatible", \ (flag_pic > 1) ? "PIC" : "pic", \ rs6000_sdata_name); \ } \ @@ -258,27 +258,27 @@ do { \ if (rs6000_sdata != SDATA_NONE && DEFAULT_ABI != ABI_V4) \ { \ rs6000_sdata = SDATA_NONE; \ - error ("-msdata=%s and -mcall-%s are incompatible.", \ + error ("-msdata=%s and -mcall-%s are incompatible", \ rs6000_sdata_name, rs6000_abi_name); \ } \ \ if (TARGET_RELOCATABLE && !TARGET_MINIMAL_TOC) \ { \ target_flags |= MASK_MINIMAL_TOC; \ - error ("-mrelocatable and -mno-minimal-toc are incompatible."); \ + error ("-mrelocatable and -mno-minimal-toc are incompatible"); \ } \ \ if (TARGET_RELOCATABLE && rs6000_current_abi == ABI_AIX) \ { \ target_flags &= ~MASK_RELOCATABLE; \ - error ("-mrelocatable and -mcall-%s are incompatible.", \ + error ("-mrelocatable and -mcall-%s are incompatible", \ rs6000_abi_name); \ } \ \ if (flag_pic > 1 && rs6000_current_abi == ABI_AIX) \ { \ flag_pic = 0; \ - error ("-fPIC and -mcall-%s are incompatible.", \ + error ("-fPIC and -mcall-%s are incompatible", \ rs6000_abi_name); \ } \ \ diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index a25ec2b..42c1a5d 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -1532,7 +1532,7 @@ print_operand_address (file, addr) struct s390_address ad; if (!s390_decompose_address (addr, &ad, TRUE)) - output_operand_lossage ("Cannot decompose address.\n"); + output_operand_lossage ("cannot decompose address.\n"); if (ad.disp) s390_output_symbolic_const (file, ad.disp); @@ -2491,7 +2491,7 @@ s390_function_prologue (file, lsize) /* Check for too large size of local variables */ if (lsize > 0x7fff0000) - fatal_error ("Total size of local variables exceeds architecture limit."); + fatal_error ("total size of local variables exceeds architecture limit"); /* Profile code (-p, -a, -ax needs some literals). */ diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 056b875..541bb8b 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -5781,13 +5781,13 @@ print_operand (file, x, code) if (GET_CODE (x) == CONST_INT) break; else if (GET_CODE (x) != REG) - output_operand_lossage ("Invalid %%Y operand"); + output_operand_lossage ("invalid %%Y operand"); else if (REGNO (x) < 8) fputs (reg_names[REGNO (x)], file); else if (REGNO (x) >= 24 && REGNO (x) < 32) fputs (reg_names[REGNO (x)-16], file); else - output_operand_lossage ("Invalid %%Y operand"); + output_operand_lossage ("invalid %%Y operand"); return; case 'L': /* Print out the low order register name of a register pair. */ @@ -5857,7 +5857,7 @@ print_operand (file, x, code) case IOR: fputs ("or", file); break; case AND: fputs ("and", file); break; case XOR: fputs ("xor", file); break; - default: output_operand_lossage ("Invalid %%A operand"); + default: output_operand_lossage ("invalid %%A operand"); } return; @@ -5867,7 +5867,7 @@ print_operand (file, x, code) case IOR: fputs ("orn", file); break; case AND: fputs ("andn", file); break; case XOR: fputs ("xnor", file); break; - default: output_operand_lossage ("Invalid %%B operand"); + default: output_operand_lossage ("invalid %%B operand"); } return; @@ -5906,8 +5906,8 @@ print_operand (file, x, code) case UNGE: fputs ("uge", file); break; case UNEQ: fputs ("ue", file); break; default: output_operand_lossage (code == 'c' - ? "Invalid %%c operand" - : "Invalid %%C operand"); + ? "invalid %%c operand" + : "invalid %%C operand"); } return; } @@ -5928,8 +5928,8 @@ print_operand (file, x, code) case LE: fputs ("lez", file); break; case GT: fputs ("gz", file); break; default: output_operand_lossage (code == 'd' - ? "Invalid %%d operand" - : "Invalid %%D operand"); + ? "invalid %%d operand" + : "invalid %%D operand"); } return; } @@ -5947,7 +5947,7 @@ print_operand (file, x, code) case 'f': /* Operand must be a MEM; write its address. */ if (GET_CODE (x) != MEM) - output_operand_lossage ("Invalid %%f operand"); + output_operand_lossage ("invalid %%f operand"); output_address (XEXP (x, 0)); return; diff --git a/gcc/config/v850/v850-c.c b/gcc/config/v850/v850-c.c index 02092a3..98e8a29 100644 --- a/gcc/config/v850/v850-c.c +++ b/gcc/config/v850/v850-c.c @@ -92,7 +92,7 @@ mark_current_function_as_interrupt () if (current_function_decl == NULL_TREE) { - warning ("Cannot set interrupt attribute: no current function"); + warning ("cannot set interrupt attribute: no current function"); return; } @@ -100,7 +100,7 @@ mark_current_function_as_interrupt () if (name == NULL_TREE || TREE_CODE (name) != IDENTIFIER_NODE) { - warning ("Cannot set interrupt attribute: no such identifier"); + warning ("cannot set interrupt attribute: no such identifier"); return; } diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index de4ebbb..bb117e5 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -116,14 +116,14 @@ override_options () if (small_memory[i].value) { if (!ISDIGIT (*small_memory[i].value)) - error ("%s=%s is not numeric.", + error ("%s=%s is not numeric", small_memory[i].name, small_memory[i].value); else { small_memory[i].max = atoi (small_memory[i].value); if (small_memory[i].max > small_memory[i].physical_max) - error ("%s=%s is too large.", + error ("%s=%s is too large", small_memory[i].name, small_memory[i].value); } @@ -2289,7 +2289,7 @@ construct_restore_jr (op) if (count <= 2) { - error ("Bogus JR construction: %d\n", count); + error ("bogus JR construction: %d\n", count); return NULL; } @@ -2310,7 +2310,7 @@ construct_restore_jr (op) /* Make sure that the amount we are popping either 0 or 16 bytes. */ if (stack_bytes != 0 && stack_bytes != 16) { - error ("Bad amount of stack space removal: %d", stack_bytes); + error ("bad amount of stack space removal: %d", stack_bytes); return NULL; } @@ -2488,7 +2488,7 @@ construct_save_jarl (op) if (count <= 2) { - error ("Bogus JARL construction: %d\n", count); + error ("bogus JARL construction: %d\n", count); return NULL; } @@ -2512,7 +2512,7 @@ construct_save_jarl (op) /* Make sure that the amount we are popping either 0 or 16 bytes. */ if (stack_bytes != 0 && stack_bytes != -16) { - error ("Bad amount of stack space removal: %d", stack_bytes); + error ("bad amount of stack space removal: %d", stack_bytes); return NULL; } |