summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/alpha/freebsd.h5
-rw-r--r--gcc/config/arm/arm.c4
-rw-r--r--gcc/config/arm/freebsd.h4
-rw-r--r--gcc/config/avr/avr.c2
-rw-r--r--gcc/config/avr/avr.opt2
-rw-r--r--gcc/config/bfin/bfin.c8
-rw-r--r--gcc/config/cris/cris.c9
-rw-r--r--gcc/config/cris/cris.h2
-rw-r--r--gcc/config/crx/crx.h2
-rw-r--r--gcc/config/darwin-c.c2
-rw-r--r--gcc/config/darwin-driver.c2
-rw-r--r--gcc/config/host-darwin.c2
-rw-r--r--gcc/config/i386/freebsd.h5
-rw-r--r--gcc/config/i386/host-cygwin.c6
-rw-r--r--gcc/config/i386/i386.c21
-rw-r--r--gcc/config/i386/i386.h2
-rw-r--r--gcc/config/i386/nwld.h2
-rw-r--r--gcc/config/i386/winnt.c2
-rw-r--r--gcc/config/ia64/freebsd.h4
-rw-r--r--gcc/config/ia64/ia64.opt4
-rw-r--r--gcc/config/lm32/lm32.c2
-rw-r--r--gcc/config/mep/mep.c4
-rw-r--r--gcc/config/microblaze/microblaze.c4
-rw-r--r--gcc/config/pa/pa-hpux10.h8
-rw-r--r--gcc/config/pa/pa-hpux11.h4
-rw-r--r--gcc/config/pa/pa64-hpux.h8
-rw-r--r--gcc/config/picochip/picochip.c26
-rw-r--r--gcc/config/rs6000/rs6000.c18
-rw-r--r--gcc/config/rs6000/sysv4.h2
-rw-r--r--gcc/config/rx/rx.c2
-rw-r--r--gcc/config/s390/s390.c6
-rw-r--r--gcc/config/sh/sh.c4
-rw-r--r--gcc/config/sh/symbian-base.c4
-rw-r--r--gcc/config/sh/symbian-c.c4
-rw-r--r--gcc/config/sh/symbian-cxx.c4
-rw-r--r--gcc/config/sparc/freebsd.h5
-rw-r--r--gcc/config/spu/spu.c11
-rw-r--r--gcc/config/v850/v850.c2
38 files changed, 106 insertions, 102 deletions
diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h
index 9a52fe4a42a..d100bba7860 100644
--- a/gcc/config/alpha/freebsd.h
+++ b/gcc/config/alpha/freebsd.h
@@ -1,5 +1,6 @@
/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format
- Copyright (C) 2000, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2004, 2005, 2007, 2010
+ Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GCC.
@@ -30,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
#define LINK_SPEC "%{G*} %{relax:-relax} \
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index a246d5b64d9..5baa2ca8476 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3797,9 +3797,9 @@ arm_get_pcs_model (const_tree type, const_tree decl)
if (user_convention)
{
if (user_pcs > ARM_PCS_AAPCS_LOCAL)
- sorry ("Non-AAPCS derived PCS variant");
+ sorry ("non-AAPCS derived PCS variant");
else if (base_rules && user_pcs != ARM_PCS_AAPCS)
- error ("Variadic functions must use the base AAPCS variant");
+ error ("variadic functions must use the base AAPCS variant");
}
if (base_rules)
diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h
index 6e59cff0543..20cda99defb 100644
--- a/gcc/config/arm/freebsd.h
+++ b/gcc/config/arm/freebsd.h
@@ -1,5 +1,5 @@
/* Definitions for StrongARM running FreeBSD using the ELF format
- Copyright (C) 2001, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2004, 2007, 2010 Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GCC.
@@ -28,7 +28,7 @@
#undef LINK_SPEC
#define LINK_SPEC " \
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 7016d483501..2af5cbf92c5 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -1166,7 +1166,7 @@ print_operand_address (FILE *file, rtx addr)
output_addr_const (file, XEXP (x,0));
fprintf (file,"+" HOST_WIDE_INT_PRINT_DEC ")", 2 * INTVAL (XEXP (x,1)));
if (AVR_3_BYTE_PC)
- if (warning ( 0, "Pointer offset from symbol maybe incorrect."))
+ if (warning (0, "pointer offset from symbol maybe incorrect"))
{
output_addr_const (stderr, addr);
fprintf(stderr,"\n");
diff --git a/gcc/config/avr/avr.opt b/gcc/config/avr/avr.opt
index f8013e53a18..62fc1f126a5 100644
--- a/gcc/config/avr/avr.opt
+++ b/gcc/config/avr/avr.opt
@@ -57,4 +57,4 @@ Relax branches
mpmem-wrap-around
Target Report
-Make the linker relaxation machine assume that a program counter wrap-around occures.
+Make the linker relaxation machine assume that a program counter wrap-around occurs.
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 1ef311b625b..851a38ba315 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -2696,10 +2696,10 @@ bfin_option_override (void)
error ("-mshared-library-id= specified without -mid-shared-library");
if (stack_limit_rtx && TARGET_STACK_CHECK_L1)
- error ("Can't use multiple stack checking methods together.");
+ error ("can%'t use multiple stack checking methods together");
if (TARGET_ID_SHARED_LIBRARY && TARGET_FDPIC)
- error ("ID shared libraries and FD-PIC mode can't be used together.");
+ error ("ID shared libraries and FD-PIC mode can%'t be used together");
/* Don't allow the user to specify -mid-shared-library and -msep-data
together, as it makes little sense from a user's point of view... */
@@ -2733,7 +2733,7 @@ bfin_option_override (void)
error ("-mcoreb should be used with -mmulticore");
if (TARGET_COREA && TARGET_COREB)
- error ("-mcorea and -mcoreb can't be used together");
+ error ("-mcorea and -mcoreb can%'t be used together");
flag_schedule_insns = 0;
@@ -5639,7 +5639,7 @@ bfin_handle_longcall_attribute (tree *node, tree name,
&& lookup_attribute ("longcall", TYPE_ATTRIBUTES (*node))))
{
warning (OPT_Wattributes,
- "can't apply both longcall and shortcall attributes to the same function");
+ "can%'t apply both longcall and shortcall attributes to the same function");
*no_add_attrs = true;
}
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index fd5e0958ac5..0681f8d994e 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -2779,7 +2779,7 @@ cris_split_movdx (rtx *operands)
}
}
else
- internal_error ("Unknown src");
+ internal_error ("unknown src");
}
/* Reg-to-mem copy or clear mem. */
else if (MEM_P (dest)
@@ -2840,7 +2840,7 @@ cris_split_movdx (rtx *operands)
}
else
- internal_error ("Unknown dest");
+ internal_error ("unknown dest");
val = get_insns ();
end_sequence ();
@@ -3660,7 +3660,7 @@ cris_expand_pic_call_address (rtx *opp)
else
/* Can't possibly get a GOT-needing-fixup for a function-call,
right? */
- fatal_insn ("Unidentifiable call op", op);
+ fatal_insn ("unidentifiable call op", op);
*opp = replace_equiv_address (*opp, op);
}
@@ -3729,7 +3729,8 @@ cris_asm_output_label_ref (FILE *file, char *buf)
/* Sanity check. */
if (!TARGET_V32 && !crtl->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");
}
else
assemble_name (file, buf);
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index a7b7e4d1e62..943b0021608 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -194,7 +194,7 @@ extern int cris_cpu_version;
MAYBE_AS_NO_MUL_BUG_ABORT \
"%{v:-v}\
%(asm_subtarget)\
- %{march=*:%{cpu=*:%eDo not specify both -march=... and -mcpu=...}}\
+ %{march=*:%{cpu=*:%edo not specify both -march=... and -mcpu=...}}\
%{march=v32:--march=v32} %{mcpu=v32:--march=v32}"
/* For the cris-*-elf subtarget. */
diff --git a/gcc/config/crx/crx.h b/gcc/config/crx/crx.h
index eac1594c036..da6e263ca52 100644
--- a/gcc/config/crx/crx.h
+++ b/gcc/config/crx/crx.h
@@ -339,7 +339,7 @@ struct cumulative_args
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(STREAM, LABELNO) \
{ \
- sorry ("Profiler support for CRX"); \
+ sorry ("profiler support for CRX"); \
}
/*****************************************************************************/
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c
index 99b6db1637d..973f8f22a5d 100644
--- a/gcc/config/darwin-c.c
+++ b/gcc/config/darwin-c.c
@@ -590,7 +590,7 @@ version_as_macro (void)
return result;
fail:
- error ("Unknown value %qs of -mmacosx-version-min",
+ error ("unknown value %qs of -mmacosx-version-min",
darwin_macosx_version_min);
return "1000";
}
diff --git a/gcc/config/darwin-driver.c b/gcc/config/darwin-driver.c
index bf27336ce29..1eb92010637 100644
--- a/gcc/config/darwin-driver.c
+++ b/gcc/config/darwin-driver.c
@@ -133,7 +133,7 @@ darwin_default_min_version (unsigned int *decoded_options_count,
return;
parse_failed:
- warning (0, "couldn't understand kern.osversion %q.*s",
+ warning (0, "couldn%'t understand kern.osversion %q.*s",
(int) osversion_len, osversion);
return;
}
diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c
index 6c94140a891..223abb89968 100644
--- a/gcc/config/host-darwin.c
+++ b/gcc/config/host-darwin.c
@@ -60,7 +60,7 @@ darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off)
sz = (sz + pagesize - 1) / pagesize * pagesize;
if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0)
- fatal_error ("couldn't unmap pch_address_space: %m");
+ fatal_error ("couldn%'t unmap pch_address_space: %m");
if (ret)
{
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 1ec5ee0d27d..1d27044018a 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -1,5 +1,6 @@
/* Definitions for Intel 386 running FreeBSD with ELF format
- Copyright (C) 1996, 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2000, 2002, 2004, 2007, 2010
+ Free Software Foundation, Inc.
Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu.
Adapted from GNU/Linux version by John Polstra.
@@ -100,7 +101,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC "\
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/i386/host-cygwin.c b/gcc/config/i386/host-cygwin.c
index 1f831a6d461..ac699b3bf01 100644
--- a/gcc/config/i386/host-cygwin.c
+++ b/gcc/config/i386/host-cygwin.c
@@ -54,14 +54,14 @@ cygwin_gt_pch_get_address (size_t sz, int fd)
off_t p = lseek(fd, 0, SEEK_CUR);
if (p == (off_t) -1)
- fatal_error ("can't get position in PCH file: %m");
+ fatal_error ("can%'t get position in PCH file: %m");
/* Cygwin requires that the underlying file be at least
as large as the requested mapping. */
if ((size_t) p < sz)
{
if ( ftruncate (fd, sz) == -1 )
- fatal_error ("can't extend PCH file: %m");
+ fatal_error ("can%'t extend PCH file: %m");
}
base = mmap (NULL, sz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
@@ -72,7 +72,7 @@ cygwin_gt_pch_get_address (size_t sz, int fd)
munmap (base, sz);
if (lseek (fd, p, SEEK_SET) == (off_t) -1 )
- fatal_error ("can't set position in PCH file: %m");
+ fatal_error ("can%'t set position in PCH file: %m");
return base;
}
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index d52a0a45de7..96327854638 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -3296,8 +3296,8 @@ ix86_option_override_internal (bool main_args_p)
error ("bad value (%s) for %stune=%s %s",
ix86_tune_string, prefix, suffix, sw);
else if (!strcmp (ix86_tune_string, "x86-64"))
- warning (OPT_Wdeprecated, "%stune=x86-64%s is deprecated. Use "
- "%stune=k8%s or %stune=generic%s instead as appropriate.",
+ warning (OPT_Wdeprecated, "%stune=x86-64%s is deprecated; use "
+ "%stune=k8%s or %stune=generic%s instead as appropriate",
prefix, suffix, prefix, suffix, prefix, suffix);
}
else
@@ -4023,13 +4023,14 @@ ix86_option_override_internal (bool main_args_p)
if (!TARGET_64BIT && flag_pic)
{
if (flag_fentry > 0)
- sorry ("-mfentry isn't supported for 32-bit in combination with -fpic");
+ sorry ("-mfentry isn%'t supported for 32-bit in combination "
+ "with -fpic");
flag_fentry = 0;
}
else if (TARGET_SEH)
{
if (flag_fentry == 0)
- sorry ("-mno-fentry isn't compatible with SEH");
+ sorry ("-mno-fentry isn%'t compatible with SEH");
flag_fentry = 1;
}
else if (flag_fentry < 0)
@@ -5337,10 +5338,10 @@ ix86_function_sseregparm (const_tree type, const_tree decl, bool warn)
if (warn)
{
if (decl)
- error ("Calling %qD with attribute sseregparm without "
+ error ("calling %qD with attribute sseregparm without "
"SSE/SSE2 enabled", decl);
else
- error ("Calling %qT with attribute sseregparm without "
+ error ("calling %qT with attribute sseregparm without "
"SSE/SSE2 enabled", type);
}
return 0;
@@ -6002,7 +6003,7 @@ classify_argument (enum machine_mode mode, const_tree type,
{
warned = true;
inform (input_location,
- "The ABI of passing struct with"
+ "the ABI of passing struct with"
" a flexible array member has"
" changed in GCC 4.4");
}
@@ -6118,7 +6119,7 @@ classify_argument (enum machine_mode mode, const_tree type,
{
warned = true;
inform (input_location,
- "The ABI of passing union with long double"
+ "the ABI of passing union with long double"
" has changed in GCC 4.4");
}
return 0;
@@ -6233,7 +6234,7 @@ classify_argument (enum machine_mode mode, const_tree type,
{
warned = true;
inform (input_location,
- "The ABI of passing structure with complex float"
+ "the ABI of passing structure with complex float"
" member has changed in GCC 4.4");
}
classes[1] = X86_64_SSESF_CLASS;
@@ -10086,7 +10087,7 @@ ix86_expand_prologue (void)
/* Check if profiling is active and we shall use profiling before
prologue variant. If so sorry. */
if (crtl->profile && flag_fentry != 0)
- sorry ("ms_hook_prologue attribute isn't compatible "
+ sorry ("ms_hook_prologue attribute isn%'t compatible "
"with -mfentry for 32-bit");
/* In ix86_asm_output_function_label we emitted:
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 8ef0d7b4d6b..1bc52068d89 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -552,7 +552,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
#ifndef CC1_CPU_SPEC
#define CC1_CPU_SPEC_1 "\
%{msse5:-mavx \
-%n'-msse5' was removed.\n}"
+%n'-msse5' was removed\n}"
#ifndef HAVE_LOCAL_CPU_DETECT
#define CC1_CPU_SPEC CC1_CPU_SPEC_1
diff --git a/gcc/config/i386/nwld.h b/gcc/config/i386/nwld.h
index 3a0afc8b63d..94ef0556ff2 100644
--- a/gcc/config/i386/nwld.h
+++ b/gcc/config/i386/nwld.h
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC "--format:NLM --extensions:GNU" \
- " %{static:%{!nostdlib:%{!nodefaultlib:%eStatic linking is not supported.\n}}}"
+ " %{static:%{!nostdlib:%{!nodefaultlib:%estatic linking is not supported\n}}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC "%L %G"
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index 251bb5ae5bc..b8d2979c465 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -144,7 +144,7 @@ i386_pe_determine_dllimport_p (tree decl)
an error as long as we don't try to import it too. */
&& !DECL_VIRTUAL_P (decl))
error ("definition of static data member %q+D of "
- "dllimport'd class", decl);
+ "dllimport%'d class", decl);
return false;
}
diff --git a/gcc/config/ia64/freebsd.h b/gcc/config/ia64/freebsd.h
index 94a6c935f56..7881ab17b4c 100644
--- a/gcc/config/ia64/freebsd.h
+++ b/gcc/config/ia64/freebsd.h
@@ -1,5 +1,5 @@
/* Definitions for Intel IA-64 running FreeBSD using the ELF format
- Copyright (C) 2001, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2004, 2007, 2010 Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GCC.
@@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
#define LINK_SPEC " \
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
%{symbolic:-Bsymbolic} \
diff --git a/gcc/config/ia64/ia64.opt b/gcc/config/ia64/ia64.opt
index 27cd5b1eaeb..70821ceee1c 100644
--- a/gcc/config/ia64/ia64.opt
+++ b/gcc/config/ia64/ia64.opt
@@ -1,4 +1,4 @@
-; Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
@@ -172,7 +172,7 @@ Soft limit on number of memory insns per instruction group, giving lower priorit
msched-max-memory-insns-hard-limit
Target Report Var(mflag_sched_mem_insns_hard_limit) Init(0)
-Disallow more than `msched-max-memory-insns' in instruction group. Otherwise, limit is `soft' (prefer non-memory operations when limit is reached)
+Disallow more than 'msched-max-memory-insns' in instruction group. Otherwise, limit is 'soft' (prefer non-memory operations when limit is reached)
msel-sched-dont-check-control-spec
Target Report Var(mflag_sel_sched_dont_check_control_spec) Init(0)
diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c
index ef09377626d..b155697b97f 100644
--- a/gcc/config/lm32/lm32.c
+++ b/gcc/config/lm32/lm32.c
@@ -523,7 +523,7 @@ lm32_print_operand (FILE * file, rtx op, int letter)
else if (GET_CODE (op) == CONST_DOUBLE)
{
if ((CONST_DOUBLE_LOW (op) != 0) || (CONST_DOUBLE_HIGH (op) != 0))
- output_operand_lossage ("Only 0.0 can be loaded as an immediate");
+ output_operand_lossage ("only 0.0 can be loaded as an immediate");
else
fprintf (file, "0");
}
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index c55624b2eb1..62877d4754c 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -4066,7 +4066,7 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
if (TREE_CODE (*node) == POINTER_TYPE
&& !gave_pointer_note)
{
- inform (input_location, "To describe a pointer to a VLIW function, use syntax like this:");
+ inform (input_location, "to describe a pointer to a VLIW function, use syntax like this:");
inform (input_location, " typedef int (__vliw *vfuncptr) ();");
gave_pointer_note = 1;
}
@@ -4074,7 +4074,7 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
if (TREE_CODE (*node) == ARRAY_TYPE
&& !gave_array_note)
{
- inform (input_location, "To describe an array of VLIW function pointers, use syntax like this:");
+ inform (input_location, "to describe an array of VLIW function pointers, use syntax like this:");
inform (input_location, " typedef int (__vliw *vfuncptr[]) ();");
gave_array_note = 1;
}
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index bcf845bed67..e81285c9067 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -1285,7 +1285,7 @@ microblaze_handle_option (size_t code,
warning (0, "-mno-clearbss is deprecated; use -fno-zero-initialized-in-bss");
break;
case OPT_mxl_stack_check:
- warning (0, "-mxl_stack_check is deprecated; use -fstack-check.");
+ warning (0, "-mxl_stack_check is deprecated; use -fstack-check");
break;
}
return true;
@@ -1845,7 +1845,7 @@ print_operand (FILE * file, rtx op, int letter)
break;
case ADDRESS_INVALID:
case ADDRESS_PLT:
- fatal_insn ("Invalid address", op);
+ fatal_insn ("invalid address", op);
}
}
}
diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h
index 4fe03f6dd8d..9a02eeacab6 100644
--- a/gcc/config/pa/pa-hpux10.h
+++ b/gcc/config/pa/pa-hpux10.h
@@ -84,10 +84,10 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC \
"%{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
%{!shared:%{p:-L/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{pg:-L/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\
@@ -95,10 +95,10 @@ along with GCC; see the file COPYING3. If not see
#else
#define LINK_SPEC \
"%{!shared:%{p:-L/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{pg:-L/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main}\
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index dd9f9b56592..e9aa0f90ac5 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -105,10 +105,10 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC \
"%{!shared:%{p:-L/lib/libp -L/usr/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
-z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index 5132b2fe5e4..5c1bd02c012 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -27,10 +27,10 @@ along with GCC; see the file COPYING3. If not see
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GNU_LD)
#define LINK_SPEC \
"%{!shared:%{p:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
%{mhp-ld:+Accept TypeMismatch -z} %{mlinker-opt:-O}\
@@ -39,10 +39,10 @@ along with GCC; see the file COPYING3. If not see
#else
#define LINK_SPEC \
"%{!shared:%{p:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
- %nWarning: consider linking with `-static' as system libraries with\n\
+ %nwarning: consider linking with '-static' as system libraries with\n\
%n profiling support are only provided in archive format}}}\
%{!shared:%{!static:%{rdynamic:-E}}}\
%{!mgnu-ld:+Accept TypeMismatch -z} %{mlinker-opt:-O}\
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c
index 2e82247ad2e..d2dab017d8a 100644
--- a/gcc/config/picochip/picochip.c
+++ b/gcc/config/picochip/picochip.c
@@ -431,7 +431,7 @@ picochip_option_override (void)
unit ISA options. Any unrecognised AE types will end up being
passed to the compiler, which should reject them as invalid. */
if (picochip_ae_type_string != NULL)
- error ("invalid AE type specified (%s)\n", picochip_ae_type_string);
+ error ("invalid AE type specified (%s)", picochip_ae_type_string);
/* Override any specific capabilities of the instruction set. These
take precedence over any capabilities inferred from the AE type,
@@ -454,7 +454,7 @@ picochip_option_override (void)
else if (strcmp (picochip_mul_type_string, "none") == 0)
{ /* Do nothing. Unit types already set to false. */ }
else
- error ("Invalid mul type specified (%s) - expected mac, mul or none",
+ error ("invalid mul type specified (%s) - expected mac, mul or none",
picochip_mul_type_string);
}
@@ -749,7 +749,7 @@ picochip_emit_save_register (rtx reg, int offset)
default:
internal_error
- ("unexpected mode %s encountered in picochip_emit_save_register\n",
+ ("unexpected mode %s encountered in picochip_emit_save_register",
GET_MODE_NAME (GET_MODE (reg)));
}
@@ -916,7 +916,7 @@ picochip_function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
default:
warning
- (0, "Defaulting to stack for %s register creation\n",
+ (0, "defaulting to stack for %s register creation",
GET_MODE_NAME (mode));
break;
}
@@ -1599,7 +1599,7 @@ picochip_output_label (FILE * stream, const char name[])
{
if (picochip_current_vliw_state.num_cfi_labels_deferred == 2)
{
- internal_error ("LCFI labels have already been deferred.");
+ internal_error ("LCFI labels have already been deferred");
}
strcpy (picochip_current_vliw_state.cfi_label_name[
picochip_current_vliw_state.num_cfi_labels_deferred], name);
@@ -1662,7 +1662,7 @@ picochip_output_internal_label (FILE * stream, const char *prefix,
(strcmp (prefix, "LM")) == 0 && picochip_vliw_continuation)
{
if (strlen (picochip_current_vliw_state.lm_label_name) != 0)
- internal_error ("LM label has already been deferred.");
+ internal_error ("LM label has already been deferred");
sprintf (picochip_current_vliw_state.lm_label_name,
"picoMark_%s%ld", prefix, num);
@@ -1954,7 +1954,7 @@ picochip_asm_output_opcode (FILE * f, const char *ptr)
made to pack it into a VLIW. */
if (strchr (ptr, '\n') != NULL && picochip_vliw_continuation)
internal_error
- ("picochip_asm_output_opcode - Found multiple lines in VLIW packet %s\n",
+ ("picochip_asm_output_opcode - Found multiple lines in VLIW packet %s",
ptr);
@@ -2057,7 +2057,7 @@ picochip_asm_output_opcode (FILE * f, const char *ptr)
}
else if (c == '%')
internal_error
- ("picochip_asm_output_opcode - can't output unknown operator %c\n",
+ ("picochip_asm_output_opcode - can%'t output unknown operator %c",
*ptr);
else
fputc (c, f);
@@ -2308,7 +2308,7 @@ picochip_output_cbranch (rtx operands[])
(HImode != GET_MODE (operands[2]) &&
GET_CODE (operands[2]) != CONST_INT))
{
- internal_error ("%s: At least one operand can't be handled",
+ internal_error ("%s: at least one operand can%'t be handled",
__FUNCTION__);
}
@@ -2368,7 +2368,7 @@ picochip_output_compare (rtx operands[])
(HImode != GET_MODE (operands[2]) &&
GET_CODE (operands[2]) != CONST_INT))
{
- internal_error ("%s: At least one operand can't be handled",
+ internal_error ("%s: at least one operand can%'t be handled",
__FUNCTION__);
}
@@ -2449,7 +2449,7 @@ picochip_output_branch (rtx operands[], rtx insn)
case GTU:
return ("BLO %l0 %>");
default:
- internal_error ("Unknown short branch in %s (type %d)\n",
+ internal_error ("unknown short branch in %s (type %d)",
__FUNCTION__, (int) INTVAL (operands[1]));
return "UNKNOWN_BRANCH";
}
@@ -2486,7 +2486,7 @@ picochip_output_branch (rtx operands[], rtx insn)
return ("JMPLO %l0 %>");
default:
- internal_error ("Unknown long branch in %s (type %d)\n",
+ internal_error ("unknown long branch in %s (type %d)",
__FUNCTION__, (int) INTVAL (operands[1]));
return "UNKNOWN_BRANCH";
}
@@ -3431,7 +3431,7 @@ picochip_get_vliw_alu_id (void)
return '1';
default:
- internal_error ("Too many ALU instructions emitted (%d)\n",
+ internal_error ("too many ALU instructions emitted (%d)",
picochip_current_vliw_state.num_alu_insns_so_far);
return 'X';
}
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index e441c70bd9b..ba85c0a9a51 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2662,7 +2662,7 @@ rs6000_option_override_internal (const char *default_cpu)
if (TARGET_ALTIVEC)
error ("AltiVec not supported in this target");
if (TARGET_SPE)
- error ("Spe not supported in this target");
+ error ("SPE not supported in this target");
}
/* Disable Cell microcode if we are optimizing for the Cell
@@ -3250,7 +3250,7 @@ rs6000_option_override_internal (const char *default_cpu)
if (i == ARRAY_SIZE (recip_options))
{
- error ("Unknown option for -mrecip=%s", q);
+ error ("unknown option for -mrecip=%s", q);
invert = false;
mask = 0;
}
@@ -4317,25 +4317,25 @@ rs6000_handle_option (size_t code, const char *arg, int value)
else if (! strcmp (arg, "d64"))
{
rs6000_darwin64_abi = 1;
- warning (0, "Using darwin64 ABI");
+ warning (0, "using darwin64 ABI");
}
else if (! strcmp (arg, "d32"))
{
rs6000_darwin64_abi = 0;
- warning (0, "Using old darwin ABI");
+ warning (0, "using old darwin ABI");
}
else if (! strcmp (arg, "ibmlongdouble"))
{
rs6000_explicit_options.ieee = true;
rs6000_ieeequad = 0;
- warning (0, "Using IBM extended precision long double");
+ warning (0, "using IBM extended precision long double");
}
else if (! strcmp (arg, "ieeelongdouble"))
{
rs6000_explicit_options.ieee = true;
rs6000_ieeequad = 1;
- warning (0, "Using IEEE extended precision long double");
+ warning (0, "using IEEE extended precision long double");
}
else
@@ -4377,7 +4377,7 @@ rs6000_handle_option (size_t code, const char *arg, int value)
rs6000_long_double_type_size = RS6000_DEFAULT_LONG_DOUBLE_SIZE;
if (value != 64 && value != 128)
{
- error ("Unknown switch -mlong-double-%s", arg);
+ error ("unknown switch -mlong-double-%s", arg);
rs6000_long_double_type_size = RS6000_DEFAULT_LONG_DOUBLE_SIZE;
return false;
}
@@ -9631,7 +9631,7 @@ def_builtin (int mask, const char *name, tree type, int code)
{
tree t;
if (rs6000_builtin_decls[code])
- fatal_error ("internal error: builtin function to %s already processed.",
+ fatal_error ("internal error: builtin function to %s already processed",
name);
rs6000_builtin_decls[code] = t =
@@ -19708,7 +19708,7 @@ rs6000_savres_routine_name (rs6000_stack_t *info, int regno,
}
}
else if (DEFAULT_ABI == ABI_DARWIN)
- sorry ("Out-of-line save/restore routines not supported on Darwin");
+ sorry ("out-of-line save/restore routines not supported on Darwin");
sprintf (savres_routine_name, "%s%d%s", prefix, regno, suffix);
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index de2ebd54028..4fda7fd06e3 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -840,7 +840,7 @@ SVR4_ASM_SPEC \
#define LINK_START_FREEBSD_SPEC ""
#define LINK_OS_FREEBSD_SPEC "\
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index 09c44733401..968d65f2f7e 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -2206,7 +2206,7 @@ rx_handle_option (size_t code, const char * arg ATTRIBUTE_UNUSED, int value)
case OPT_fpu:
if (rx_cpu_type == RX200)
- error ("The RX200 cpu does not have FPU hardware");
+ error ("the RX200 cpu does not have FPU hardware");
break;
default:
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 9e663a742e2..11ca919af28 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -1641,10 +1641,10 @@ s390_option_override (void)
if (target_flags_explicit & MASK_HARD_DFP)
{
if (!TARGET_CPU_DFP)
- error ("Hardware decimal floating point instructions"
+ error ("hardware decimal floating point instructions"
" not available on %s", s390_arch_string);
if (!TARGET_ZARCH)
- error ("Hardware decimal floating point instructions"
+ error ("hardware decimal floating point instructions"
" not available in ESA/390 mode");
}
else
@@ -1654,7 +1654,7 @@ s390_option_override (void)
if ((target_flags_explicit & MASK_SOFT_FLOAT) && TARGET_SOFT_FLOAT)
{
if ((target_flags_explicit & MASK_HARD_DFP) && TARGET_HARD_DFP)
- error ("-mhard-dfp can't be used in conjunction with -msoft-float");
+ error ("-mhard-dfp can%'t be used in conjunction with -msoft-float");
target_flags &= ~MASK_HARD_DFP;
}
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index efad46b12f1..9d8bb536c4f 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -11605,7 +11605,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
break;
}
if (scratch1 == scratch0)
- error ("Need a second call-clobbered general purpose register");
+ error ("need a second call-clobbered general purpose register");
for (i = FIRST_TARGET_REG; i <= LAST_TARGET_REG; i++)
if (call_used_regs[i] && ! fixed_regs[i])
{
@@ -11613,7 +11613,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
break;
}
if (scratch2 == scratch0)
- error ("Need a call-clobbered target register");
+ error ("need a call-clobbered target register");
}
this_value = plus_constant (this_rtx, delta);
diff --git a/gcc/config/sh/symbian-base.c b/gcc/config/sh/symbian-base.c
index 03c58344cfd..6bfe7cbc559 100644
--- a/gcc/config/sh/symbian-base.c
+++ b/gcc/config/sh/symbian-base.c
@@ -1,6 +1,6 @@
/* Routines for GCC for a Symbian OS targeted SH backend, shared by
both the C and C++ compilers.
- Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by RedHat.
Most of this code is stolen from i386/winnt.c.
@@ -117,7 +117,7 @@ sh_symbian_mark_dllimport (tree decl)
{
/* Already done, but do a sanity check to prevent assembler errors. */
if (!DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl))
- error ("failure in redeclaration of %q+D: dllimport'd symbol lacks external linkage",
+ error ("failure in redeclaration of %q+D: dllimport%'d symbol lacks external linkage",
decl);
}
else
diff --git a/gcc/config/sh/symbian-c.c b/gcc/config/sh/symbian-c.c
index 32a11664367..cbffdb56581 100644
--- a/gcc/config/sh/symbian-c.c
+++ b/gcc/config/sh/symbian-c.c
@@ -1,5 +1,5 @@
/* Routines for C compiler part of GCC for a Symbian OS targeted SH backend.
- Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by RedHat.
Most of this code is stolen from i386/winnt.c.
@@ -94,7 +94,7 @@ sh_symbian_is_dllimported (tree decl)
&& TREE_PUBLIC (decl)
&& !DECL_EXTERNAL (decl))
{
- error ("definition of static data member %q+D of dllimport'd class",
+ error ("definition of static data member %q+D of dllimport%'d class",
decl);
return false;
}
diff --git a/gcc/config/sh/symbian-cxx.c b/gcc/config/sh/symbian-cxx.c
index 5f1ef93ca6e..4684c3d5117 100644
--- a/gcc/config/sh/symbian-cxx.c
+++ b/gcc/config/sh/symbian-cxx.c
@@ -1,5 +1,5 @@
/* Routines for C++ support for GCC for a Symbian OS targeted SH backend.
- Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by RedHat.
Most of this code is stolen from i386/winnt.c.
@@ -118,7 +118,7 @@ sh_symbian_is_dllimported (tree decl)
&& !DECL_EXTERNAL (decl))
{
if (!DECL_VIRTUAL_P (decl))
- error ("definition of static data member %q+D of dllimport'd class",
+ error ("definition of static data member %q+D of dllimport%'d class",
decl);
return false;
}
diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h
index 9c86f5c9ac2..541010a205e 100644
--- a/gcc/config/sparc/freebsd.h
+++ b/gcc/config/sparc/freebsd.h
@@ -1,5 +1,6 @@
/* Definitions for Sun SPARC64 running FreeBSD using the ELF format
- Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2010
+ Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GCC.
@@ -31,7 +32,7 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
%{symbolic:-Bsymbolic} \
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index beaa1177c92..d98c57127f3 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -539,7 +539,7 @@ spu_option_override (void)
else if (strcmp (&spu_arch_string[0], "celledp") == 0)
spu_arch = PROCESSOR_CELLEDP;
else
- error ("Unknown architecture '%s'", &spu_arch_string[0]);
+ error ("unknown architecture %qs", &spu_arch_string[0]);
}
/* Determine processor to tune for. */
@@ -550,7 +550,7 @@ spu_option_override (void)
else if (strcmp (&spu_tune_string[0], "celledp") == 0)
spu_tune = PROCESSOR_CELLEDP;
else
- error ("Unknown architecture '%s'", &spu_tune_string[0]);
+ error ("unknown architecture %qs", &spu_tune_string[0]);
}
/* Change defaults according to the processor architecture. */
@@ -6423,7 +6423,7 @@ spu_check_builtin_parm (struct spu_builtin_description *d, rtx op, int p)
int range = p - SPU_BTI_7;
if (!CONSTANT_P (op))
- error ("%s expects an integer literal in the range [%d, %d].",
+ error ("%s expects an integer literal in the range [%d, %d]",
d->name,
spu_builtin_range[range].low, spu_builtin_range[range].high);
@@ -6443,8 +6443,7 @@ spu_check_builtin_parm (struct spu_builtin_description *d, rtx op, int p)
/* The default for v is 0 which is valid in every range. */
if (v < spu_builtin_range[range].low
|| v > spu_builtin_range[range].high)
- error ("%s expects an integer literal in the range [%d, %d]. ("
- HOST_WIDE_INT_PRINT_DEC ")",
+ error ("%s expects an integer literal in the range [%d, %d]. (%wd)",
d->name,
spu_builtin_range[range].low, spu_builtin_range[range].high,
v);
@@ -6473,7 +6472,7 @@ spu_check_builtin_parm (struct spu_builtin_description *d, rtx op, int p)
|| (GET_CODE (op) == SYMBOL_REF
&& SYMBOL_REF_FUNCTION_P (op))
|| (v & ((1 << lsbits) - 1)) != 0)
- warning (0, "%d least significant bits of %s are ignored.", lsbits,
+ warning (0, "%d least significant bits of %s are ignored", lsbits,
d->name);
}
}
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index 560fe34a91f..81598628406 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -2416,7 +2416,7 @@ construct_save_jarl (rtx op)
if (count <= (TARGET_LONG_CALLS ? 3 : 2))
{
- error ("bogus JARL construction: %d\n", count);
+ error ("bogus JARL construction: %d", count);
return NULL;
}