This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35840] ICE for character expression in I/O specifier
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 17:58:18 -0000
- Subject: [Bug fortran/35840] ICE for character expression in I/O specifier
- References: <bug-35840-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-09-14 17:58 -------
I see that I did not use RESOLVE_TAG in gfc_resolve_dt. Doing so resolves the
ICE issue. Then if we really want to accept this poorly written code, I think
the place to fix it may be in io.c (resolve_tag)
@@ -2481,6 +2483,7 @@ gfc_resolve_dt (gfc_dt *dt)
RESOLVE_TAG (&tag_e_round, dt->round);
RESOLVE_TAG (&tag_e_blank, dt->blank);
RESOLVE_TAG (&tag_e_decimal, dt->decimal);
+ RESOLVE_TAG (&tag_e_async, dt->asynchronous);
e = dt->io_unit;
if (gfc_resolve_expr (e) == SUCCESS
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35840