http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47040

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-22 
10:16:56 UTC ---
Draft patch - feel free to take it, I am not sure when I have the time to
submit it.

--- a/gcc/fortran/array.c
+++ b/gcc/fortran/array.c
@@ -1054,7 +1054,8 @@ gfc_match_array_constructor (gfc_expr **result)
        goto done;
       else
        {
-         gfc_error ("Empty array constructor at %C is not allowed");
+         gfc_error ("Empty array constructor without type-spec at %C is not "
+                    "allowed");
          goto cleanup;
        }
     }

Reply via email to