re PR fortran/68426 (Simplification of SPREAD with a derived type element is unimplem...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 8 Jul 2016 22:24:44 +0000 (22:24 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 8 Jul 2016 22:24:44 +0000 (22:24 +0000)
2016-07-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68426
* simplify (gfc_simplify_spread): Adjust locus.

From-SVN: r238186

gcc/fortran/ChangeLog
gcc/fortran/simplify.c

index 4faf797..61bd1af 100644 (file)
@@ -1,3 +1,8 @@
+2016-07-08  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       PR fortran/68426
+       * simplify (gfc_simplify_spread): Adjust locus.
+
 2016-07-08  Cesar Philippidis  <cesar@codesourcery.com>
 
        * parse.c (matcha): Define.
index 4c8bb83..95a8d10 100644 (file)
@@ -6183,8 +6183,7 @@ gfc_simplify_spread (gfc_expr *source, gfc_expr *dim_expr, gfc_expr *ncopies_exp
     }
   else
     {
-      gfc_error ("Simplification of SPREAD at %L not yet implemented",
-                &source->where);
+      gfc_error ("Simplification of SPREAD at %C not yet implemented");
       return &gfc_bad_expr;
     }