aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-09-14 18:04:39 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-09-14 18:04:39 +0000
commit02205aa495e25c2110d7610ad13a407f40dc27df (patch)
tree213e612fbb2baad1313984cb096b93779986c23a /gcc/fortran
parent20a1e5b8c856e019b86b7e4990bad9dcb04d0e35 (diff)
downloadgcc-02205aa495e25c2110d7610ad13a407f40dc27df.zip
gcc-02205aa495e25c2110d7610ad13a407f40dc27df.tar.gz
gcc-02205aa495e25c2110d7610ad13a407f40dc27df.tar.bz2
simplify.c (gfc_simplify_repeat): Fix a misplaced closing ')'.
2016-09-14 Bernd Edlinger <bernd.edlinger@hotmail.de> * simplify.c (gfc_simplify_repeat): Fix a misplaced closing ')'. From-SVN: r240142
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/simplify.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 77ab72f..55380a0 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * simplify.c (gfc_simplify_repeat): Fix a misplaced closing ')'.
+
2016-09-13 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77420
diff --git a/gcc/fortran/simplify.c b/gcc/fortran/simplify.c
index c396653..ad547a1 100644
--- a/gcc/fortran/simplify.c
+++ b/gcc/fortran/simplify.c
@@ -5127,7 +5127,7 @@ gfc_simplify_repeat (gfc_expr *e, gfc_expr *n)
if (len ||
(e->ts.u.cl->length &&
- mpz_sgn (e->ts.u.cl->length->value.integer)) != 0)
+ mpz_sgn (e->ts.u.cl->length->value.integer) != 0))
{
const char *res = gfc_extract_int (n, &ncop);
gcc_assert (res == NULL);