summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-12-01 18:42:49 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-12-01 18:42:49 +0000
commit357351e5a702dde74fbccf7ba88027e166b0111c (patch)
tree02b11de5e6c77cacd32adb6c82a5a850db7e4da8 /gcc
parent2203610302a49bd13423676ab292ddefc6e1219c (diff)
c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove trailing period from diagnostics. * c-lex.c (cb_file_change): Similarly. * cppmacro.c (check_trad_stringification): Similarly. * gcc.c (do_spec_1): Similarly. * genattr.c (main): Similarly. * genattrtab.c (main, operate_exp, make_length_attrs): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * mips-tfile.c (add_file, error): Similarly. * profile.c (init_branch_prob): Similarly. * reload1.c (spill_failure): Similarly. * stmt.c (parse_output_constraint): Similarly. * varasm.c (assemble_variable): Similarly. cp: * class.c (finish_struct): Similarly. * decl.c (check_tag_decl): Similarly. * lex.c (cxx_set_yydebug): Similarly. * typeck2.c (friendly_abort): Similarly. java: * expr.c (expand_byte_code): Similarly. * jcf-parse.c (load_class, jcf_parse): Similarly. * jcf-write.c (generate_classfile): Similarly. * lex.c (java_lex): Similarly. From-SVN: r47517
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog24
-rw-r--r--gcc/c-decl.c6
-rw-r--r--gcc/c-lex.c2
-rw-r--r--gcc/c-parse.in2
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/class.c2
-rw-r--r--gcc/cp/decl.c2
-rw-r--r--gcc/cp/lex.c2
-rw-r--r--gcc/cp/typeck2.c2
-rw-r--r--gcc/cppmacro.c2
-rw-r--r--gcc/gcc.c2
-rw-r--r--gcc/genattr.c4
-rw-r--r--gcc/genattrtab.c8
-rw-r--r--gcc/gencodes.c2
-rw-r--r--gcc/genconfig.c2
-rw-r--r--gcc/genconstants.c2
-rw-r--r--gcc/genemit.c2
-rw-r--r--gcc/genextract.c2
-rw-r--r--gcc/genflags.c2
-rw-r--r--gcc/genopinit.c2
-rw-r--r--gcc/genoutput.c2
-rw-r--r--gcc/genpeep.c2
-rw-r--r--gcc/genrecog.c2
-rw-r--r--gcc/java/ChangeLog7
-rw-r--r--gcc/java/expr.c4
-rw-r--r--gcc/java/jcf-parse.c4
-rw-r--r--gcc/java/jcf-write.c2
-rw-r--r--gcc/java/lex.c2
-rw-r--r--gcc/mips-tfile.c4
-rw-r--r--gcc/profile.c2
-rw-r--r--gcc/reload1.c4
-rw-r--r--gcc/stmt.c2
-rw-r--r--gcc/varasm.c4
33 files changed, 79 insertions, 41 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86821ff516e..fe9fc31dd15 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,27 @@
+2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
+ trailing period from diagnostics.
+ * c-lex.c (cb_file_change): Similarly.
+ * cppmacro.c (check_trad_stringification): Similarly.
+ * gcc.c (do_spec_1): Similarly.
+ * genattr.c (main): Similarly.
+ * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
+ * gencodes.c (main): Similarly.
+ * genconfig.c (main): Similarly.
+ * genconstants.c (main): Similarly.
+ * genemit.c (main): Similarly.
+ * genextract.c (main): Similarly.
+ * genopinit.c (main): Similarly.
+ * genoutput.c (main): Similarly.
+ * genpeep.c (main): Similarly.
+ * genrecog.c (main): Similarly.
+ * mips-tfile.c (add_file, error): Similarly.
+ * profile.c (init_branch_prob): Similarly.
+ * reload1.c (spill_failure): Similarly.
+ * stmt.c (parse_output_constraint): Similarly.
+ * varasm.c (assemble_variable): Similarly.
+
2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* m68k.c (init_FPA_table): Provide static prototype.
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 04b975023ae..63b2680f308 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1621,13 +1621,13 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
if (TREE_CHAIN (t) == 0
&& TYPE_MAIN_VARIANT (type) != void_type_node)
{
- error ("A parameter list with an ellipsis can't match an empty parameter name list declaration.");
+ error ("A parameter list with an ellipsis can't match an empty parameter name list declaration");
break;
}
if (simple_type_promotes_to (type) != NULL_TREE)
{
- error ("An argument type that has a default promotion can't match an empty parameter name list declaration.");
+ error ("An argument type that has a default promotion can't match an empty parameter name list declaration");
break;
}
}
@@ -5300,7 +5300,7 @@ parmlist_tags_warning ()
}
if (! already)
{
- warning ("its scope is only this definition or declaration, which is probably not what you want.");
+ warning ("its scope is only this definition or declaration, which is probably not what you want");
already = 1;
}
}
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 3867ef2069e..d207833a7c9 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -297,7 +297,7 @@ cb_file_change (pfile, new_map)
{
warning_with_file_and_line
(input_filename, lineno,
- "This file contains more '%c's than '%c's.",
+ "This file contains more '%c's than '%c's",
indent_level > input_file_stack->indent_level ? '{' : '}',
indent_level > input_file_stack->indent_level ? '}' : '{');
}
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 6e797511e7d..c67d2442917 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -3772,7 +3772,7 @@ c_set_yydebug (value)
#if YYDEBUG != 0
yydebug = value;
#else
- warning ("YYDEBUG not defined.");
+ warning ("YYDEBUG not defined");
#endif
}
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index be2515372f8..4d66a5db7a5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * class.c (finish_struct): Remove trailing periods from messages.
+ * decl.c (check_tag_decl): Similarly.
+ * lex.c (cxx_set_yydebug): Similarly.
+ * typeck2.c (friendly_abort): Similarly.
+
2001-11-29 Mark Mitchell <mark@codesourcery.com>
PR c++/3048
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index e843c32b458..736273b8c96 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -5258,7 +5258,7 @@ finish_struct (t, attributes)
if (current_class_type)
popclass ();
else
- error ("trying to finish struct, but kicked out due to previous parse errors.");
+ error ("trying to finish struct, but kicked out due to previous parse errors");
if (processing_template_decl)
{
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 9f4d82d8bd6..c10a0c7c1c7 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -7054,7 +7054,7 @@ check_tag_decl (declspecs)
--end example] */
if (saw_typedef)
{
- error ("Missing type-name in typedef-declaration.");
+ error ("missing type-name in typedef-declaration");
return NULL_TREE;
}
/* Anonymous unions are objects, so they can have specifiers. */;
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index ba93ca5f5fa..1a748a513ba 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -905,7 +905,7 @@ cxx_set_yydebug (value)
extern int yydebug;
yydebug = value;
#else
- warning ("YYDEBUG not defined.");
+ warning ("YYDEBUG not defined");
#endif
}
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index 37252ee0bbe..03d8f2df1a5 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -267,7 +267,7 @@ friendly_abort (where, file, line, func)
/* Say nothing. */;
else if (where > 0)
{
- error ("Internal error #%d.", where);
+ error ("Internal error #%d", where);
/* Uncount this error, so internal_error will do the right thing. */
--errorcount;
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 21d3cb1296b..d6f021b67b5 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -1480,7 +1480,7 @@ check_trad_stringification (pfile, macro, string)
&& !memcmp (p, NODE_NAME (node), len))
{
cpp_warning (pfile,
- "macro argument \"%s\" would be stringified with -traditional.",
+ "macro argument \"%s\" would be stringified with -traditional",
NODE_NAME (node));
break;
}
diff --git a/gcc/gcc.c b/gcc/gcc.c
index b83557d4ac8..7b3a85e89bd 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4255,7 +4255,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
switch (c = *p++)
{
case 0:
- fatal ("Invalid specification! Bug in cc.");
+ fatal ("Invalid specification! Bug in cc");
case 'b':
obstack_grow (&obstack, input_basename, basename_length);
diff --git a/gcc/genattr.c b/gcc/genattr.c
index 4f9c712b609..03b0b1f5668 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -208,7 +208,7 @@ main (argc, argv)
progname = "genattr";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
@@ -297,7 +297,7 @@ main (argc, argv)
}
else if (unit->multiplicity != multiplicity
|| unit->simultaneity != simultaneity)
- fatal ("Differing specifications given for `%s' function unit.",
+ fatal ("Differing specifications given for `%s' function unit",
unit->name);
extend_range (&unit->ready_cost, ready_cost, ready_cost);
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 1c75b2d21cc..d2c91fcf0c1 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -1438,7 +1438,7 @@ make_canonical (attr, exp)
if (! strcmp (XSTR (exp, 0), "*"))
{
if (attr == 0 || attr->default_val == 0)
- fatal ("(attr_value \"*\") used in invalid context.");
+ fatal ("(attr_value \"*\") used in invalid context");
exp = attr->default_val->value;
}
@@ -1827,7 +1827,7 @@ operate_exp (op, left, right)
}
else
- fatal ("Badly formed attribute value.");
+ fatal ("Badly formed attribute value");
/* NOTREACHED */
return NULL;
}
@@ -2454,7 +2454,7 @@ make_length_attrs ()
return;
if (! length_attr->is_numeric)
- fatal ("length attribute must be numeric.");
+ fatal ("length attribute must be numeric");
length_attr->is_const = 0;
length_attr->is_special = 1;
@@ -6065,7 +6065,7 @@ main (argc, argv)
progname = "genattrtab";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/gencodes.c b/gcc/gencodes.c
index 89d4b75ef19..d5d5c4bfda9 100644
--- a/gcc/gencodes.c
+++ b/gcc/gencodes.c
@@ -54,7 +54,7 @@ main (argc, argv)
progname = "gencodes";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index 01107ff7eb3..2dc04595538 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -275,7 +275,7 @@ main (argc, argv)
progname = "genconfig";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genconstants.c b/gcc/genconstants.c
index 1e58a785aae..9043caea569 100644
--- a/gcc/genconstants.c
+++ b/gcc/genconstants.c
@@ -61,7 +61,7 @@ main (argc, argv)
progname = "genconstants";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader (argv[1]) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 751071949ac..605e84b536b 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -787,7 +787,7 @@ main (argc, argv)
progname = "genemit";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genextract.c b/gcc/genextract.c
index ae77ac9ba7b..79e87552e93 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -360,7 +360,7 @@ main (argc, argv)
progname = "genextract";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genflags.c b/gcc/genflags.c
index 4bf05111b37..1942ab9cfcc 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -228,7 +228,7 @@ main (argc, argv)
obstack_init (&obstack);
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index dc422d762d4..760b8353d11 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -317,7 +317,7 @@ main (argc, argv)
progname = "genopinit";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index 73911aeec0f..53322776c1f 100644
--- a/gcc/genoutput.c
+++ b/gcc/genoutput.c
@@ -951,7 +951,7 @@ main (argc, argv)
progname = "genoutput";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index 05c156a2f85..2d81ada942a 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -383,7 +383,7 @@ main (argc, argv)
progname = "genpeep";
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index fe1a42bbc54..e721e41e100 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2687,7 +2687,7 @@ main (argc, argv)
memset (&peephole2_tree, 0, sizeof peephole2_tree);
if (argc <= 1)
- fatal ("No input file name.");
+ fatal ("No input file name");
if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index d84e110e09e..1c0f009f8c0 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * expr.c (expand_byte_code): Remove trailing periods from messages.
+ * jcf-parse.c (load_class, jcf_parse): Similarly.
+ * jcf-write.c (generate_classfile): Similarly.
+ * lex.c (java_lex): Similarly.
+
2001-11-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* class.c (add_interface_do): Set BINFO_VPTR_FIELD.
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index cf9bef46bf3..182d247f890 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2747,7 +2747,7 @@ expand_byte_code (jcf, method)
if (dead_code_index != -1)
{
/* We've just reached the end of a region of dead code. */
- warning ("Unreachable bytecode from %d to before %d.",
+ warning ("Unreachable bytecode from %d to before %d",
dead_code_index, PC);
dead_code_index = -1;
}
@@ -2784,7 +2784,7 @@ expand_byte_code (jcf, method)
if (dead_code_index != -1)
{
/* We've just reached the end of a region of dead code. */
- warning ("Unreachable bytecode from %d to the end of the method.",
+ warning ("Unreachable bytecode from %d to the end of the method",
dead_code_index);
}
}
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index ec76e81ae12..b52d7b1fdbe 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -682,7 +682,7 @@ load_class (class_or_name, verbose)
}
if (!class_loaded && verbose)
- error ("Cannot find file for class %s.", IDENTIFIER_POINTER (saved));
+ error ("Cannot find file for class %s", IDENTIFIER_POINTER (saved));
}
/* Parse the .class file JCF. */
@@ -750,7 +750,7 @@ jcf_parse (jcf)
-fforce-classes-archive-check was specified. */
if (!jcf->right_zip
&& (!flag_emit_class_files || flag_force_classes_archive_check))
- fatal_error ("The `java.lang.Object' that was found in `%s' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrect set. Use `info gcj \"Input Options\"' to see the info page describing how to set the classpath.", jcf->filename);
+ fatal_error ("The `java.lang.Object' that was found in `%s' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrectly set. Use `info gcj \"Input Options\"' to see the info page describing how to set the classpath.", jcf->filename);
}
else
all_class_list = tree_cons (NULL_TREE,
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 2d3e333100f..1b9ff7ba7eb 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -2952,7 +2952,7 @@ generate_classfile (clas, state)
tree init = DECL_INITIAL (part);
static tree ConstantValue_node = NULL_TREE;
if (TREE_TYPE (part) != TREE_TYPE (init))
- fatal_error ("field initializer type mismatch.");
+ fatal_error ("field initializer type mismatch");
ptr = append_chunk (NULL, 8, state);
if (ConstantValue_node == NULL_TREE)
ConstantValue_node = get_identifier ("ConstantValue");
diff --git a/gcc/java/lex.c b/gcc/java/lex.c
index 779bbcbd382..38e1716f263 100644
--- a/gcc/java/lex.c
+++ b/gcc/java/lex.c
@@ -1312,7 +1312,7 @@ java_lex (java_lval)
if (c == '\n' || c == UEOF) /* ULT */
{
lineno--; /* Refer to the line the terminator was seen */
- java_lex_error ("String not terminated at end of line.", 0);
+ java_lex_error ("String not terminated at end of line", 0);
lineno++;
}
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index 9b2234a2e34..70f580a76b7 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -2526,7 +2526,7 @@ add_file (file_start, file_end_p1)
(shash_t **) 0);
if (file_end_p1 - file_start > (long) PAGE_USIZE-2)
- fatal ("Filename goes over one page boundary.");
+ fatal ("Filename goes over one page boundary");
/* Push the start of the filename. We assume that the filename
will be stored at string offset 1. */
@@ -5608,7 +5608,7 @@ error VPARAMS ((const char *format, ...))
void
fancy_abort ()
{
- fatal ("Internal abort.");
+ fatal ("Internal abort");
}
diff --git a/gcc/profile.c b/gcc/profile.c
index 1aea55969bd..caad5df588a 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -972,7 +972,7 @@ init_branch_prob (filename)
strip_off_ending (da_file_name, len);
strcat (da_file_name, ".da");
if ((da_file = fopen (da_file_name, "rb")) == 0)
- warning ("file %s not found, execution counts assumed to be zero.",
+ warning ("file %s not found, execution counts assumed to be zero",
da_file_name);
/* The first word in the .da file gives the number of instrumented
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 1f20a489f62..a14e963b759 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1888,11 +1888,11 @@ spill_failure (insn, class)
{
static const char *const reg_class_names[] = REG_CLASS_NAMES;
if (asm_noperands (PATTERN (insn)) >= 0)
- error_for_asm (insn, "Can't find a register in class `%s' while reloading `asm'.",
+ error_for_asm (insn, "Can't find a register in class `%s' while reloading `asm'",
reg_class_names[class]);
else
{
- error ("Unable to find a register to spill in class `%s'.",
+ error ("Unable to find a register to spill in class `%s'",
reg_class_names[class]);
fatal_insn ("This is the insn:", insn);
}
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 2615df09a24..2b176bb9e9a 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1390,7 +1390,7 @@ parse_output_constraint (constraint_p,
{
case '+':
case '=':
- error ("operand constraint contains '+' or '=' at illegal position.");
+ error ("operand constraint contains incorrectly positioned '+' or '='");
return false;
case '%':
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 9737518e8aa..875430f7fc0 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1597,7 +1597,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
if (align > MAX_OFILE_ALIGNMENT)
{
warning_with_decl (decl,
- "alignment of `%s' is greater than maximum object file alignment. Using %d.",
+ "alignment of `%s' is greater than maximum object file alignment. Using %d",
MAX_OFILE_ALIGNMENT/BITS_PER_UNIT);
align = MAX_OFILE_ALIGNMENT;
}
@@ -1648,7 +1648,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
#if !defined(ASM_OUTPUT_ALIGNED_COMMON) && !defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) && !defined(ASM_OUTPUT_ALIGNED_BSS)
if ((unsigned HOST_WIDE_INT) DECL_ALIGN (decl) / BITS_PER_UNIT > rounded)
warning_with_decl
- (decl, "requested alignment for %s is greater than implemented alignment of %d.",rounded);
+ (decl, "requested alignment for %s is greater than implemented alignment of %d",rounded);
#endif
asm_emit_uninitialised (decl, name, size, rounded);