re PR other/80058 (fix double spaces in string literals everywhere)
PR other/80058 * lra-constraints.c (process_alt_operands): Avoid one space before " at the end of line and another after " on another line in a string literal. * attribs.c (handle_dll_attribute): Likewise. * config/avr/avr-devices.c (avr_texinfo): Likewise. cp/ * parser.c (cp_parser_template_declaration_after_parameters): Avoid one space before " at the end of line and another after " on another line in a string literal. fortran/ * arith.c (gfc_complex2complex): Avoid two spaces in the middle of diagnostics. * resolve.c (resolve_allocate_expr): Likewise. From-SVN: r269487
This commit is contained in:
parent
723a52f951
commit
0d7bac69b7
@ -1,5 +1,12 @@
|
||||
2019-03-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/80058
|
||||
* lra-constraints.c (process_alt_operands): Avoid one space before
|
||||
" at the end of line and another after " on another line in a string
|
||||
literal.
|
||||
* attribs.c (handle_dll_attribute): Likewise.
|
||||
* config/avr/avr-devices.c (avr_texinfo): Likewise.
|
||||
|
||||
* gimple-ssa-warn-alloca.c (pass_walloca::execute): Don't wrap
|
||||
warning_at or inform messages in G_() if there is no ?:.
|
||||
|
||||
|
@ -1664,7 +1664,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
|
||||
&& DECL_DECLARED_INLINE_P (node))
|
||||
{
|
||||
warning (OPT_Wattributes, "inline function %q+D declared as "
|
||||
" dllimport: attribute ignored", node);
|
||||
"dllimport: attribute ignored", node);
|
||||
*no_add_attrs = true;
|
||||
}
|
||||
/* Like MS, treat definition of dllimported variables and
|
||||
|
@ -76,7 +76,7 @@ avr_texinfo[] =
|
||||
"the @code{MOVW} instruction." },
|
||||
{ ARCH_AVR3,
|
||||
"``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of "
|
||||
" program memory." },
|
||||
"program memory." },
|
||||
{ ARCH_AVR31,
|
||||
"``Classic'' devices with 128@tie{}KiB of program memory." },
|
||||
{ ARCH_AVR35,
|
||||
|
@ -1,5 +1,10 @@
|
||||
2019-03-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/80058
|
||||
* parser.c (cp_parser_template_declaration_after_parameters): Avoid
|
||||
one space before " at the end of line and another after " on another
|
||||
line in a string literal.
|
||||
|
||||
PR tree-optimization/89550
|
||||
* semantics.c (maybe_convert_cond): Only set TREE_NO_WARNING if
|
||||
warning_at returned true.
|
||||
|
@ -27865,7 +27865,7 @@ cp_parser_template_declaration_after_parameters (cp_parser* parser,
|
||||
if (cxx_dialect > cxx17)
|
||||
error ("literal operator template %qD has invalid parameter list;"
|
||||
" Expected non-type template parameter pack <char...> "
|
||||
" or single non-type parameter of class type",
|
||||
"or single non-type parameter of class type",
|
||||
decl);
|
||||
else
|
||||
error ("literal operator template %qD has invalid parameter list."
|
||||
|
@ -1,3 +1,10 @@
|
||||
2019-03-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/80058
|
||||
* arith.c (gfc_complex2complex): Avoid two spaces in the middle of
|
||||
diagnostics.
|
||||
* resolve.c (resolve_allocate_expr): Likewise.
|
||||
|
||||
2019-03-06 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/71203
|
||||
|
@ -2472,7 +2472,7 @@ gfc_complex2complex (gfc_expr *src, int kind)
|
||||
int w = warn_conversion ? OPT_Wconversion : OPT_Wconversion_extra;
|
||||
|
||||
gfc_warning_now (w, "Change of value in conversion from "
|
||||
" %qs to %qs at %L",
|
||||
"%qs to %qs at %L",
|
||||
gfc_typename (&src->ts), gfc_typename (&result->ts),
|
||||
&src->where);
|
||||
did_warn = true;
|
||||
|
@ -7798,7 +7798,7 @@ resolve_allocate_expr (gfc_expr *e, gfc_code *code, bool *array_alloc_wo_spec)
|
||||
if (mpz_cmp_si (ar->start[i]->value.integer, 1) < 0)
|
||||
{
|
||||
gfc_error ("Upper cobound is less than lower cobound "
|
||||
" of 1 at %L", &ar->start[i]->where);
|
||||
"of 1 at %L", &ar->start[i]->where);
|
||||
goto failure;
|
||||
}
|
||||
}
|
||||
|
@ -2681,7 +2681,7 @@ process_alt_operands (int only_alternative)
|
||||
if (lra_dump_file != NULL)
|
||||
fprintf (lra_dump_file,
|
||||
" alt=%d: reload pseudo for op %d "
|
||||
" cannot hold the mode value -- refuse\n",
|
||||
"cannot hold the mode value -- refuse\n",
|
||||
nalt, nop);
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user