This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Make REAL array indices a GFC_STD_LEGACY feature


Hi all,

I propose to make real-type array indices a GFC_STD_LEGACY feature,
instead of GFC_STD_GNU, with the patch below. Does someone has
objections about that?

Thanks,
FX



Index: resolve.c
===================================================================
--- resolve.c   (revision 113549)
+++ resolve.c   (working copy)
@@ -2170,7 +2170,7 @@
    }

  if (index->ts.type == BT_REAL)
-    if (gfc_notify_std (GFC_STD_GNU, "Extension: REAL array index at %L",
+    if (gfc_notify_std (GFC_STD_LEGACY, "Extension: REAL array index at %L",
                       &index->where) == FAILURE)
      return FAILURE;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]