This is the mail archive of the gcc-patches@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]

Re: fix fortran debug/9864


Richard Henderson wrote:

The problem to me appears to be that the FUNCTION_DECL for QUUS
winds up in a local binding level for BAZ, rather than at the
global binding level.  The following appears to fix the problem.

I'm somewhat concerned about the assert at the beginning of
start_decl and finish_decl, but I couldn't trigger it.  Toon,
would you mind running this across a larger set of Fortran
input and see if Something Bad Happens?

Well, I ran LAPACK using a thusly modified compiler (-g -O3 -funroll-loops on powerpc-unknown-linux-gnu) and it didn't fail, so I think your change is correct.


Thanks !

--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)


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