pex = pex_init (PEX_USE_PIPES, "collect2", NULL);
if (pex == NULL)
- fatal_error (input_location, "pex_init failed: %m");
+ fatal_error (input_location, "%<pex_init%> failed: %m");
errmsg = pex_run (pex, 0, ldd_file_name, real_ldd_argv, NULL, NULL, &err);
if (errmsg != NULL)
}
else
error_at (EXPR_LOCATION (exp),
- "total size and element size must be a non-zero "
+ "total size and element size must be a nonzero "
"constant immediate");
/* Don't generate any RTL. */
return const0_rtx;
/* Keep this message in sync with the one in arc.cc:arc_expand_builtin,
because *.md files do not get scanned by exgettext. */
fatal_error (input_location,
- \"operand to trap_s should be an unsigned 6-bit value\");
+ \"operand to %<trap_s%> should be an unsigned 6-bit value\");
}
[(set_attr "length" "2")
(set_attr "type" "misc")])
flags |= SECTION_BSS; /* @nobits */
else
warning (0, "only uninitialized variables can be placed in the "
- ".noinit section");
+ "%<.noinit%> section");
}
if (decl && DECL_P (decl)
}
if (stack_limit_rtx && TARGET_STACK_CHECK_L1)
- error ("can%'t use multiple stack checking methods together");
+ error ("cannot 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 cannot 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... */
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%> cannot be used together");
flag_schedule_insns = 0;
&& lookup_attribute ("longcall", TYPE_ATTRIBUTES (*node))))
{
warning (OPT_Wattributes,
- "can%'t apply both longcall and shortcall attributes to the same function");
+ "cannott apply both longcall and shortcall attributes to the same function");
*no_add_attrs = true;
}
/* Node: Profiling */
#define FUNCTION_PROFILER(FILE, LABELNO) \
- error ("no FUNCTION_PROFILER for CRIS")
+ error ("no %<FUNCTION_PROFILER%> for CRIS")
/* FIXME: Some of the undefined macros might be mandatory. If so, fix
documentation. */
case FRV_BUILTIN_IACCsetl:
if (!TARGET_FR405_BUILTINS)
{
- error ("this builtin function is only available"
+ error ("this built-in function is only available"
" on the fr405 and fr450");
return NULL_RTX;
}
case FRV_BUILTIN_PREFETCH:
if (!TARGET_FR500_FR550_BUILTINS)
{
- error ("this builtin function is only available on the fr500"
+ error ("this built-in function is only available on the fr500"
" and fr550");
return NULL_RTX;
}
case FRV_BUILTIN_MQSRAHI:
if (!TARGET_MEDIA_FR450)
{
- error ("this builtin function is only available on the fr450");
+ error ("this built-in function is only available on the fr450");
return NULL_RTX;
}
break;
type = pragma_lex (&x);
}
if (type != CPP_EOF)
- warning (OPT_Wpragmas, "malformed #pragma builtin");
+ warning (OPT_Wpragmas, "malformed %<#pragma builtin%>");
}
/* List of standard math functions which do not set matherr by default
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);
else if (gp_offset < 32768)
iq2000_print_operand_address (FILE * file, machine_mode mode, rtx addr)
{
if (!addr)
- error ("PRINT_OPERAND_ADDRESS, null pointer");
+ error ("%<PRINT_OPERAND_ADDRESS%>, null pointer");
else
switch (GET_CODE (addr))
break;
default:
- error ("PRINT_OPERAND: Unknown punctuation %<%c%>", letter);
+ error ("%<PRINT_OPERAND%>: Unknown punctuation %<%c%>", letter);
break;
}
if (! op)
{
- error ("PRINT_OPERAND null pointer");
+ error ("%<PRINT_OPERAND%> null pointer");
return;
}
type = pragma_lex (&val);
if (type != CPP_EOF)
- warning (0, "junk at end of #pragma GCC memregs [0..16]");
+ warning (0, "junk at end of %<#pragma GCC memregs%> [0-16]");
if (i >= 0 && i <= 16)
{
if (!ok_to_change_target_memregs)
{
warning (0,
- "#pragma GCC memregs must precede any function decls");
+ "%<#pragma GCC memregs%> must precede any function declarations");
return;
}
target_memregs = i;
}
else
{
- warning (0, "#pragma GCC memregs takes a number [0..16]");
+ warning (0, "%<#pragma GCC memregs%> takes a number [0-16]");
}
return;
}
}
- error ("#pragma GCC memregs takes a number [0..16]");
+ error ("%<#pragma GCC memregs%> takes a number [0-16]");
}
/* Implements the "pragma ADDRESS" pragma. This pragma takes a
type = pragma_lex (&var);
if (type != CPP_EOF)
{
- error ("junk at end of #pragma ADDRESS");
+ error ("junk at end of %<#pragma ADDRESS%>");
}
return;
}
}
- error ("malformed #pragma ADDRESS variable address");
+ error ("malformed %<#pragma ADDRESS%> variable address");
}
/* Implements REGISTER_TARGET_PRAGMAS. */
if (!TARGET_FIDOA
&& !strcmp (IDENTIFIER_POINTER (name), "interrupt_thread"))
{
- error ("interrupt_thread is available only on fido");
+ error ("%<interrupt_thread%> is available only on fido");
*no_add_attrs = true;
}
{
warning (OPT_Wattributes,
"argument to %qE attribute is neither eic, nor "
- "vector=<line>", name);
+ "%<vector=<line>%>", name);
*no_add_attrs = true;
}
else if (startswith (TREE_STRING_POINTER (cst), "vector="))
{
warning (OPT_Wattributes,
"interrupt vector to %qE attribute is not "
- "vector=(sw0|sw1|hw0|hw1|hw2|hw3|hw4|hw5)",
+ "%<vector=(sw0|sw1|hw0|hw1|hw2|hw3|hw4|hw5)%>",
name);
*no_add_attrs = true;
}
sorry ("MIPS16 %<-mxgot%> code");
if (TARGET_HARD_FLOAT_ABI && !TARGET_OLDABI)
- sorry ("hard-float MIPS16 code for ABIs other than o32 and o64");
+ sorry ("%<hard-float%> MIPS16 code for ABIs other than o32 and o64");
if (TARGET_MSA)
sorry ("MSA MIPS16 code");
mmix_function_profiler (FILE *stream ATTRIBUTE_UNUSED,
int labelno ATTRIBUTE_UNUSED)
{
- sorry ("function_profiler support for MMIX");
+ sorry ("%<function_profiler%> support for MMIX");
}
/* Worker function for TARGET_SETUP_INCOMING_VARARGS. For the moment,
default:
/* Presumably there's a missing case above if we get here. */
- internal_error ("MMIX Internal: Missing %qc case in mmix_print_operand", code);
+ internal_error ("MMIX Internal: Missing %qc case in %<mmix_print_operand%>", code);
}
switch (GET_CODE (modified_x))
{
char s[sizeof ("0xffffffffffffffff")];
sprintf (s, "%#" PRIx64, value);
- internal_error ("MMIX Internal: %s is not a shiftable int", s);
+ internal_error ("MMIX Internal: %s is not a shiftable integer", s);
}
for (i = 0; i < 4; i++)
{
char s[16+2+1];
sprintf (s, "%#" PRIx64, value);
- internal_error ("MMIX Internal: %s is not a shiftable int", s);
+ internal_error ("MMIX Internal: %s is not a shiftable integer", s);
}
for (i = 0; i < 4; i++)
{
case 1:
if (strcasecmp (argv[0], "default"))
- error ("unexpected argument to msp430_select_hwmult_lib: %s", argv[0]);
+ error ("unexpected argument to %<msp430_select_hwmult_lib%>: %s", argv[0]);
break;
default:
}
}
else
- error ("unexpected first argument to msp430_select_hwmult_lib: %s",
+ error ("unexpected first argument to %<msp430_select_hwmult_lib%>: %s",
argv[0]);
break;
case 0:
- error ("msp430_select_hwmult_lib needs one or more arguments");
+ error ("%<msp430_select_hwmult_lib%> needs one or more arguments");
break;
}
{
if (target_cpu == MSP430_CPU_MSP430X_DEFAULT)
warning (0,
- "Unrecognized MCU name %qs, assuming that it is "
- "just a MSP430X with no hardware multiply.\n"
- "Use the %<-mcpu%> and %<-mhwmult%> options to "
- "set these explicitly.",
+ "unrecognized MCU name %qs, assuming that it is "
+ "just a MSP430X with no hardware multiply; "
+ "use the %<-mcpu%> and %<-mhwmult%> options to "
+ "set these explicitly",
target_mcu);
else
warning (0,
- "Unrecognized MCU name %qs, assuming that it "
- "has no hardware multiply.\nUse the %<-mhwmult%> "
- "option to set this explicitly.",
+ "unrecognized MCU name %qs, assuming that it "
+ "has no hardware multiply; use the %<-mhwmult%> "
+ "option to set this explicitly",
target_mcu);
}
{
if (msp430_warn_mcu)
warning (0,
- "Unrecognized MCU name %qs, assuming that it just "
- "supports the MSP430X ISA.\nUse the %<-mcpu%> option "
- "to set the ISA explicitly.",
+ "unrecognized MCU name %qs, assuming that it just "
+ "supports the MSP430X ISA; use the %<-mcpu%> option "
+ "to set the ISA explicitly",
target_mcu);
}
else if (msp430_warn_mcu)
/* Allow the attribute to be added - the linker script
being used may still recognise this value. */
warning (OPT_Wattributes,
- "numeric argument of %qE attribute must be in range 0..63",
+ "numeric argument of %qE attribute must be in range [0-63]",
name);
break;
if (GET_CODE (arg) != CONST_INT)
{
- error ("__delay_cycles() only takes constant arguments");
+ error ("%<__delay_cycles()%> only takes constant arguments");
return NULL_RTX;
}
{
if (c < 0)
{
- error ("__delay_cycles only takes non-negative cycle counts");
+ error ("%<__delay_cycles%> only takes non-negative cycle counts");
return NULL_RTX;
}
}
c %= 4;
if ((unsigned long long) i > 0xffffffffULL)
{
- error ("__delay_cycles is limited to 32-bit loop counts");
+ error ("%<__delay_cycles%> is limited to 32-bit loop counts");
return NULL_RTX;
}
}
if (! msp430_is_interrupt_func ())
{
- error ("MSP430 builtin functions only work inside interrupt handlers");
+ error ("MSP430 built-in functions only work inside interrupt handlers");
return NULL_RTX;
}
{ \
rs6000_long_double_type_size = 64; \
if (OPTION_SET_P (rs6000_long_double_type_size)) \
- warning (0, "soft-float and long-double-128 are incompatible"); \
+ warning (0, "%<soft-float%> and long-double-128 are incompatible"); \
} \
if (TARGET_POWERPC64 && ! TARGET_64BIT) \
{ \
#define RS6000_ABI_NAME "linux"
/* Copy and paste from linux64.h and freebsd64.h */
-#define INVALID_64BIT "-m%s not supported in this configuration"
+#define INVALID_64BIT "%<-m%s%> not supported in this configuration"
/* A lot of copy and paste from linux64.h and freebsd64.h */
#undef SUBSUBTARGET_OVERRIDE_OPTIONS
if (INTVAL (arg1) == 1)
{
- warning (0, "invalid control register for mvtc : %d - using 'psw'",
+ warning (0, "invalid control register for mvtc: %d - using 'psw'",
(int) INTVAL (arg1));
arg1 = const0_rtx;
}
error ("%<__builtin_rx_%s%> takes %<C%>, %<Z%>, %<S%>, %<O%>, %<I%>, "
"or %<U%>", which);
if (!mvtc_inform_done)
- error ("use %<__builtin_rx_mvtc%> (0, ... ) to write arbitrary values to PSW");
+ error ("use %<__builtin_rx_mvtc (0, ... )%> to write arbitrary values to PSW");
mvtc_inform_done = 1;
return 0;
goto got_mode_name;
}
- err_ret ("invalid atomic model name \"%s\"", tokens.front ().c_str ());
+ err_ret ("invalid atomic model name %qs", tokens.front ().c_str ());
got_mode_name:;
}
std::string offset_str = tokens[i].substr (strlen ("gbr-offset="));
ret.tcb_gbr_offset = integral_argument (offset_str.c_str ());
if (offset_str.empty () || ret.tcb_gbr_offset == -1)
- err_ret ("could not parse gbr-offset value \"%s\" in atomic model "
+ err_ret ("could not parse gbr-offset value %qs in atomic model "
"option", offset_str.c_str ());
}
else
- err_ret ("unknown parameter \"%s\" in atomic model option",
+ err_ret ("unknown parameter %qs in atomic model option",
tokens[i].c_str ());
}
void
xstormy16_function_profiler (void)
{
- sorry ("function_profiler support");
+ sorry ("%<function_profiler%> support");
}
\f
/* Update CUM to advance past argument ARG. Once this is done,
tree t,u;
if (xstormy16_interrupt_function_p ())
- error ("cannot use va_start in interrupt function");
+ error ("cannot use %<va_start%> in interrupt function");
f_base = TYPE_FIELDS (va_list_type_node);
f_count = DECL_CHAIN (f_base);
{
if (! (TREE_PUBLIC (*node) || TREE_STATIC (*node)))
{
- warning (OPT_Wattributes, "__BELOW100__ attribute not allowed "
+ warning (OPT_Wattributes, "%<__BELOW100__%> attribute not allowed "
"with auto storage class");
*no_add_attrs = true;
}