This is the mail archive of the gcc-bugs@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] | |
------- Comment #7 from fxcoudert at gcc dot gnu dot org 2008-02-28 23:08 -------
(In reply to comment #6)
> I knew I was missing something :)
I try again... this time, with less ambition, just fix the case at hand... this
should not break anything (but... I can't regtest right now).
Index: io.c
===================================================================
--- io.c (revision 132578)
+++ io.c (working copy)
@@ -1148,8 +1148,9 @@
constant. */
if (e->ts.type == BT_CHARACTER)
{
- if (gfc_notify_std (GFC_STD_GNU, "Extension: Character array "
- "in FORMAT tag at %L", &e->where) == FAILURE)
+ if (e->rank > 0
+ && gfc_notify_std (GFC_STD_GNU, "Extension: Character array "
+ "in FORMAT tag at %L", &e->where) == FAILURE)
return FAILURE;
}
else
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35009
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |