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]

[Bug fortran/35840] ICE for character expression in I/O specifier



------- 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


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