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