aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-03-08 11:51:28 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-03-08 11:51:28 +0100
commit0d7bac69b78fbb3bc2d088e7777472d261ea0a21 (patch)
tree1c541e70165935ccc8c6c6de9e9a46066e63c168 /gcc/fortran
parent723a52f9512a22af0f3f6758770b60dd8dfb7d47 (diff)
downloadgcc-0d7bac69b78fbb3bc2d088e7777472d261ea0a21.zip
gcc-0d7bac69b78fbb3bc2d088e7777472d261ea0a21.tar.gz
gcc-0d7bac69b78fbb3bc2d088e7777472d261ea0a21.tar.bz2
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
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/fortran/arith.c2
-rw-r--r--gcc/fortran/resolve.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 2b23b99..2840368 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c
index 52d3a38..f2d311c 100644
--- a/gcc/fortran/arith.c
+++ b/gcc/fortran/arith.c
@@ -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;
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 955978b..1cf9cba 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -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;
}
}