This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2008 19:33:26 -0000
- Subject: [Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration
- References: <bug-35680-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pault at gcc dot gnu dot org 2008-09-28 19:33 -------
Created an attachment (id=16421)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16421&action=view)
A tentative fix for this PR
This allows the testcase to compile and run correctly. I am now not sure if x
does need to be declared before foo, simply because it is not needed to
determine the size of the transfer result.
At very least, it is an obvious addition to resolve_transfer. We can worry
about statement order some other time.
I cannot regtest or commit because of a catastrophe with the Windows installer,
followed by a rash decision to install FC9.
Volunteers?
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680