This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
I think that I can see pretty quickly how to make it work if I forget about optimization - once function inlining starts, I do not know how to keep the procedure itself in play. In spite of my opposition (or, perhaps, because of it!), I'll take a look.
I could be wrong, but this is prohibited by at least the Fortran
2003 standard.
Yup, I know that. It is (imho) the biggest blunder in the design. I can only imagine that it was proposed by the Intel folks (since they went ahead and implemented it anyway) and rejected by others who didn't immediately see how to make it work.
We were not trying to talk down to you - we're just a bunch of volunteers who are doing our best to get gfortran to be a halfway decent F95 compiler. It's bad enough that we have to maintain some contact with the g77 and vax extensions but F2003 keeps breathing down our backs too. I guess, though, given the Intel compiler antecedents, that we had better keep an eye on them too *sigh*
BTW: I do have some experience with building software -- have you ever used PostScript? ; - )
In this case, in my judgement, the standard designers had a very clear reason for not allowing this. Creativity is fine but we want, as well, that our users can depend on code being portable. We have a fairly realistic view of why folk might use open source F95 compilers......
On Jul 29, 2007, at 10:03 PM, Steve Kargl wrote:If you need threads, I'd suggest you take a look at Dan Nagle's pthread module at http://users.erols.com/dnagle/pub/pthread.f03 instead of cramming a (possibly) nonstandard feature into gfortran.
Yup, I know about threads (we were using them back in the 70's at Xerox PARC). And as I mentioned in my first email, I can setup critical sections and use globals as a less than wonderful work around. But it makes it difficult to setup dynamic libraries.
One of the nice things about the fortan standard is that it leaves room
for compiler builders to be creative and go beyond the basic standard.
That's what Intel has done in this case, and that's what I'm still hoping you will decide to do also.
..and to you too
Cheers, Bill
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |