https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123029

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
It is in the front-end io.cc

3924:      if (!gfc_notify_std (GFC_STD_F2003, "BLANK= at %L "
3925-                      "not allowed in Fortran 95", &dt->blank->where))
3926-   return false;
3927-

Part of commit 44facdb79f2d

  /* Checks on the BLANK specifier.  */
   if (open->blank)
     {
-      if (!gfc_notify_std (GFC_STD_F2003, "BLANK= at %C "
-                          "not allowed in Fortran 95"))
-       goto cleanup;
-
-      if (!is_char_type ("BLANK", open->blank))
-       goto cleanup;
+      if (!gfc_notify_std (GFC_STD_F2003, "BLANK= at %L "
+                          "not allowed in Fortran 95", &open->blank->where))
+       return false;

       if (open->blank->expr_type == EXPR_CONSTANT)
        {

My guess it was an error. It is definitely allowed for Fortran 95. (I looked ;)
)

Reply via email to