+2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
+
+ * c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt,
+ config/rs6000/rs6000.opt, params.def: Remove "." from end of help
+ texts.
+ * config/avr/avr.c: Do not use '`' as left quote.
+ * config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c:
+ Remove "." from end of diagnostics. Make diagnostics start with
+ lowercase letter.
+
2005-07-02 Zack Weinberg <zack@codesourcery.com>
Joseph S. Myers <joseph@codesourcery.com>
Wpointer-sign
C ObjC Var(warn_pointer_sign) Init(1)
-Warn when a pointer differs in signedness in an assignment.
+Warn when a pointer differs in signedness in an assignment
ansi
C ObjC C++ ObjC++
-A synonym for -std=c89 (for C) or -std=c++98 (for C++).
+A synonym for -std=c89 (for C) or -std=c++98 (for C++)
d
C ObjC C++ ObjC++ Joined
finput-charset=
C ObjC C++ ObjC++ Joined RejectNegative
--finput-charset=<cset> Specify the default character set for source files.
+-finput-charset=<cset> Specify the default character set for source files
fexternal-templates
fthreadsafe-statics
C++ ObjC++
--fno-threadsafe-statics Do not generate thread-safe code for initializing local statics.
+-fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
funsigned-bitfields
C ObjC C++ ObjC++
print-pch-checksum
C ObjC C++ ObjC++
-Print a checksum of the executable for PCH validity checking, and stop.
+Print a checksum of the executable for PCH validity checking, and stop
remap
C ObjC C++ ObjC++
fdiagnostics-show-option
Common
-Amend appropriate diagnostic messages with the command line option that controls them.
+Amend appropriate diagnostic messages with the command line option that controls them
fdump-
Common Joined RejectNegative
fgcse-after-reload
Common Report Var(flag_gcse_after_reload)
Perform global common subexpression elimination after register allocation
-has finished.
+has finished
fguess-branch-probability
Common Report Var(flag_guess_branch_prob)
fmudflap
Common RejectNegative Report Var(flag_mudflap)
-Add mudflap bounds-checking instrumentation for single-threaded program.
+Add mudflap bounds-checking instrumentation for single-threaded program
fmudflapth
Common RejectNegative Report Var(flag_mudflap_threads)
-Add mudflap bounds-checking instrumentation for multi-threaded program.
+Add mudflap bounds-checking instrumentation for multi-threaded program
fmudflapir
Common RejectNegative Report Var(flag_mudflap_ignore_reads)
-Ignore read operations when inserting mudflap instrumentation.
+Ignore read operations when inserting mudflap instrumentation
freschedule-modulo-scheduled-loops
Common Report Var(flag_resched_modulo_sched)
fshow-column
Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)
-Show column numbers in diagnostics, when available. Default on.
+Show column numbers in diagnostics, when available. Default on
fsignaling-nans
Common Report Var(flag_signaling_nans)
fsplit-ivs-in-unroller
Common Report Var(flag_split_ivs_in_unroller) Init(1)
-Split lifetimes of induction variables when loops are unrolled.
+Split lifetimes of induction variables when loops are unrolled
fvariable-expansion-in-unroller
Common Report Var(flag_variable_expansion_in_unroller)
-Apply variable expansion when loops are unrolled.
+Apply variable expansion when loops are unrolled
; Emit code to probe the stack, to help detect stack overflow; also
; may cause large objects to be allocated dynamically.
ftree-copyrename
Common Report Var(flag_tree_copyrename)
-Replace SSA temporaries with better names in copies.
+Replace SSA temporaries with better names in copies
ftree-copy-prop
Common Report Var(flag_tree_copy_prop)
ftree-lrs
Common Report Var(flag_tree_live_range_split)
-Perform live range splitting during the SSA->normal pass.
+Perform live range splitting during the SSA->normal pass
ftree-vrp
Common Report Var(flag_tree_vrp) Init(0)
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);
{
if (strncmp (func_name, "__vector", strlen ("__vector")) != 0)
{
- warning (0, "`%s' appears to be a misspelled interrupt handler",
+ warning (0, "%qs appears to be a misspelled interrupt handler",
func_name);
}
}
{
if (strncmp (func_name, "__vector", strlen ("__vector")) != 0)
{
- warning (0, "`%s' appears to be a misspelled signal handler",
+ warning (0, "%qs appears to be a misspelled signal handler",
func_name);
}
}
mlow64k
Target Report Mask(LOW_64K)
-Program is entirely located in low 64k of memory.
+Program is entirely located in low 64k of memory
mcsync
Target Report Mask(CSYNC)
mfixed-range=
Target RejectNegative Joined
-Specify range of registers to make fixed.
+Specify range of registers to make fixed
mgas
Target Report Mask(GAS)
mschedule=
Target RejectNegative Joined
-Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000.
+Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000
msoft-float
Target Report Mask(SOFT_FLOAT)
&& TARGET_ALTIVEC_ABI
&& ALTIVEC_VECTOR_MODE (TYPE_MODE (TREE_TYPE (fntype))))
{
- error ("Cannot return value in vector register because"
+ error ("cannot return value in vector register because"
" altivec instructions are disabled, use -maltivec"
- " to enable them.");
+ " to enable them");
}
}
\f
{
cum->vregno++;
if (!TARGET_ALTIVEC)
- error ("Cannot pass argument in vector register because"
+ error ("cannot pass argument in vector register because"
" altivec instructions are disabled, use -maltivec"
- " to enable them.");
+ " to enable them");
/* PowerPC64 Linux and AIX allocate GPRs for a vector argument
even if it is going to be passed in a vector register.
mvrsave=
Target RejectNegative Joined
--mvrsave=yes/no Deprecated option. Use -mvrsave/-mno-vrsave instead.
+-mvrsave=yes/no Deprecated option. Use -mvrsave/-mno-vrsave instead
misel
Target Var(rs6000_isel)
mfloat-gprs=
Target RejectNegative Joined
--mfloat-gprs= Select GPR floating point method.
+-mfloat-gprs= Select GPR floating point method
mlong-double-
Target RejectNegative Joined UInteger
/* Sanity checks. */
if (TARGET_ZARCH && !(s390_arch_flags & PF_ZARCH))
- error ("z/Architecture mode not supported on %s.", s390_arch_string);
+ error ("z/Architecture mode not supported on %s", s390_arch_string);
if (TARGET_64BIT && !TARGET_ZARCH)
- error ("64-bit ABI not supported in ESA/390 mode.");
+ error ("64-bit ABI not supported in ESA/390 mode");
/* Set processor cost function. */
if (TARGET_BACKCHAIN && TARGET_PACKED_STACK && TARGET_HARD_FLOAT)
error ("-mbackchain -mpacked-stack -mhard-float are not supported "
- "in combination.");
+ "in combination");
if (s390_stack_size)
{
if (!s390_decompose_address (addr, &ad)
|| (ad.base && !REG_OK_FOR_BASE_STRICT_P (ad.base))
|| (ad.indx && !REG_OK_FOR_INDEX_STRICT_P (ad.indx)))
- output_operand_lossage ("Cannot decompose address.");
+ output_operand_lossage ("cannot decompose address");
if (ad.disp)
output_addr_const (file, ad.disp);
cfun_frame_layout.frame_size = get_frame_size ();
if (!TARGET_64BIT && cfun_frame_layout.frame_size > 0x7fff0000)
- fatal_error ("Total size of local variables exceeds architecture limit.");
+ fatal_error ("total size of local variables exceeds architecture limit");
if (!TARGET_PACKED_STACK)
{
+2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
+
+ * name-lookup.c, parser.c: Use %q, %< and %> to quote in
+ diagnostics.
+
2005-07-02 Zack Weinberg <zack@codesourcery.com>
Joseph S. Myers <joseph@codesourcery.com>
if (scope == current_namespace)
{
if (at_namespace_scope_p ())
- error ("explicit qualification in declaration of `%D'",
+ error ("explicit qualification in declaration of %qD",
decl);
return;
}
break;
}
default:
- error ("misplaced `@%D' Objective-C++ construct", kwd->value);
+ error ("misplaced %<@%D%> Objective-C++ construct", kwd->value);
cp_parser_skip_to_end_of_block_or_statement (parser);
}
if (!type)
{
- error ("`@encode' must specify a type as an argument");
+ error ("%<@encode%> must specify a type as an argument");
return error_mark_node;
}
cp_lexer_consume_token (parser->lexer); /* Eat '@protocol'. */
if (cp_lexer_next_token_is_not (parser->lexer, CPP_NAME))
{
- error ("identifier expected after `@protocol'");
+ error ("identifier expected after %<@protocol%>");
goto finish;
}
cp_parser_objc_end_implementation (parser);
break;
default:
- error ("misplaced `@%D' Objective-C++ construct", kwd->value);
+ error ("misplaced %<@%D%> Objective-C++ construct", kwd->value);
cp_parser_skip_to_end_of_block_or_statement (parser);
}
}
case RID_AT_THROW:
return cp_parser_objc_throw_statement (parser);
default:
- error ("misplaced `@%D' Objective-C++ construct", kwd->value);
+ error ("misplaced %<@%D%> Objective-C++ construct", kwd->value);
cp_parser_skip_to_end_of_block_or_statement (parser);
}
+2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
+
+ * lang.opt: Remove "." from end of help texts.
+
2005-07-01 Jerry DeLisle <jvdelisle@verizon.net>
* gfortran.texi: Fix typos and grammar.
fdump-parse-tree
F95
-Display the code tree after parsing.
+Display the code tree after parsing
ff2c
F95
-Use f2c calling convention.
+Use f2c calling convention
ffixed-form
F95
fmax-identifier-length=
F95 RejectNegative Joined UInteger
--fmax-identifier-length=<n> Maximum identifier length.
+-fmax-identifier-length=<n> Maximum identifier length
fmax-stack-var-size=
F95 RejectNegative Joined UInteger
std=f95
F95
-Conform to the ISO Fortran 95 standard.
+Conform to the ISO Fortran 95 standard
std=f2003
F95
-Conform to the ISO Fortran 2003 standard.
+Conform to the ISO Fortran 2003 standard
std=gnu
F95
-Conform nothing in particular.
+Conform nothing in particular
std=legacy
F95
-Accept extensions to support legacy code.
+Accept extensions to support legacy code
; This comment is to ensure we retain the blank line above.
+2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
+
+ * objc-act.c: Use %q to quote in diagnostics.
+
2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
* objc-act.c: Use '+' flag instead of %J. Use 'q' flag for
if (TYPE_NEEDS_CONSTRUCTING (field_type)
&& !TYPE_HAS_DEFAULT_CONSTRUCTOR (field_type))
{
- warning (0, "type `%s' has no default constructor to call",
+ warning (0, "type %qs has no default constructor to call",
type_name);
/* If we cannot call a constructor, we should also avoid
calling the destructor, for symmetry. */
if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (field_type))
- warning (0, "destructor for `%s' shall not be run either",
+ warning (0, "destructor for %qs shall not be run either",
type_name);
}
}
{
/* Vtable pointers are Real Bad(tm), since Obj-C cannot
initialize them. */
- error ("type `%s' has virtual member functions", type_name);
- error ("illegal aggregate type `%s' specified "
- "for instance variable `%s'",
+ error ("type %qs has virtual member functions", type_name);
+ error ("illegal aggregate type %qs specified "
+ "for instance variable %qs",
type_name, ivar_name);
/* Return class as is without adding this ivar. */
return class;
/* User-defined constructors and destructors are not known to Obj-C
and hence will not be called. This may or may not be a problem. */
if (TYPE_NEEDS_CONSTRUCTING (field_type))
- warning (0, "type `%s' has a user-defined constructor", type_name);
+ warning (0, "type %qs has a user-defined constructor", type_name);
if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (field_type))
- warning (0, "type `%s' has a user-defined destructor", type_name);
+ warning (0, "type %qs has a user-defined destructor", type_name);
if (!warn_cxx_ivars)
{
&& !targetm.have_named_sections)
{
inform
- ("-freorder-blocks-and-partition does not work on this architecture.");
+ ("-freorder-blocks-and-partition does not work on this architecture");
flag_reorder_blocks_and_partition = 0;
flag_reorder_blocks = 1;
}
(Added loads execution count) */
DEFPARAM(PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
"gcse-after-reload-partial-fraction",
- "The threshold ratio for performing partial redundancy elimination after reload.",
+ "The threshold ratio for performing partial redundancy elimination after reload",
3, 0, 0)
/* This is the threshold ratio of the critical edges execution count compared to
the redundant loads execution count that permits performing the load
redundancy elimination in gcse after reload. */
DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION,
"gcse-after-reload-critical-fraction",
- "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload.",
+ "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload",
10, 0, 0)
/* This parameter limits the number of insns in a loop that will be unrolled,
and by how much the loop is unrolled.
DEFPARAM(PARAM_MAX_ALIASED_VOPS,
"max-aliased-vops",
- "The maximum number of virtual operands allowed to represent aliases before triggering alias grouping.",
+ "The maximum number of virtual operands allowed to represent aliases before triggering alias grouping",
500, 0, 0)
DEFPARAM(PARAM_MAX_SCHED_REGION_BLOCKS,
if (TREE_CODE (node) == FUNCTION_DECL && DECL_INITIAL (node)
&& !DECL_DECLARED_INLINE_P (node))
{
- error ("function %q+D definition is marked dllimport.", node);
+ error ("function %q+D definition is marked dllimport", node);
*no_add_attrs = true;
}
{
if (DECL_INITIAL (node))
{
- error ("variable %q+D definition is marked dllimport.",
+ error ("variable %q+D definition is marked dllimport",
node);
*no_add_attrs = true;
}
|| TREE_CODE (node) == FUNCTION_DECL))
{
error ("external linkage required for symbol %q+D because of "
- "%qs attribute.", node, IDENTIFIER_POINTER (name));
+ "%qs attribute", node, IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}