mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 19:51:34 +08:00
re PR fortran/20460 (Nasty extensions that should always warn)
PR fortran/20460 * resolve.c (gfc_resolve_index): Make REAL array indices a GFC_STD_LEGACY feature. From-SVN: r113672
This commit is contained in:
parent
8e785b78e8
commit
7fdf6c6980
@ -1,3 +1,9 @@
|
||||
2006-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR fortran/20460
|
||||
* resolve.c (gfc_resolve_index): Make REAL array indices a
|
||||
GFC_STD_LEGACY feature.
|
||||
|
||||
2006-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR fortran/24549
|
||||
|
@ -2170,7 +2170,7 @@ gfc_resolve_index (gfc_expr * index, int check_scalar)
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user