public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "domob at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45776] Full implementation of variable definition contexts (and related checks) Date: Sat, 25 Sep 2010 16:40:00 -0000 [thread overview] Message-ID: <20100925164000.9FVdg1PnljfUgkPAjKErJ6fQHH0kW9Pla1fvsAwr058@z> (raw) In-Reply-To: <bug-45776-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45776 --- Comment #2 from Daniel Kraft <domob at gcc dot gnu.org> 2010-09-25 14:27:27 UTC --- Author: domob Date: Sat Sep 25 14:27:20 2010 New Revision: 164619 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164619 Log: 2010-09-25 Daniel Kraft <d@domob.eu> PR fortran/45776 * gfortran.h (struct gfc_dt): New member `dt_io_kind'. * io.c (resolve_tag): F2008 check for NEWUNIT and variable definition checks for NEWUNIT, IOSTAT, SIZE and IOMSG. (gfc_free_dt): Correctly handle freeing of `dt_io_kind' and `extra_comma' with changed semantics. (gfc_resolve_dt): Check variable definitions. (match_io_element): Remove INTENT and PURE checks here and initialize code->ext.dt member. (match_io): Set dt->dt_io_kind. (gfc_resolve_inquire): Check variable definition for all tags except UNIT, FILE and ID. * resolve.c (resolve_transfer): Variable definition check. 2010-09-25 Daniel Kraft <d@domob.eu> PR fortran/45776 * gfortran.dg/io_constraints_6.f03: New test. * gfortran.dg/io_constraints_7.f03: New test. * gfortran.dg/newunit_2.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/io_constraints_6.f03 trunk/gcc/testsuite/gfortran.dg/io_constraints_7.f03 trunk/gcc/testsuite/gfortran.dg/newunit_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/io.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next prev parent reply other threads:[~2010-09-25 14:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-24 8:06 [Bug 45776] (fortran) New: " domob at gcc dot gnu.org 2010-09-24 8:10 ` [Bug 45776] (fortran) " domob at gcc dot gnu.org 2010-09-25 16:40 ` domob at gcc dot gnu.org [this message] 2010-09-25 16:49 ` [Bug fortran/45776] " domob at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100925164000.9FVdg1PnljfUgkPAjKErJ6fQHH0kW9Pla1fvsAwr058@z \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).