This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Make REAL array indices a GFC_STD_LEGACY feature
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: GFortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 7 May 2006 20:06:48 +0200
- Subject: 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;