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/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration



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


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