[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-29 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-29 Thread bardeau at iram dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #10 from Sebastien Bardeau 2011-11-29 14:33:08 UTC --- Indeed this is a workaround that we will probably adopt. I would say that although I partially disagree the choices made in the Fortran Standards in this context, gfortran is not

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-29 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #9 from Tobias Burnus 2011-11-29 13:10:26 UTC --- Sebastien has now ask at c.l.f, cf. http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/ef3900ab261c5cd9 Suggested workaround/solution: subroutine mysub() u

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-24 Thread bardeau at iram dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #8 from Sebastien Bardeau 2011-11-24 15:58:31 UTC --- (In reply to comment #7) > (In reply to comment #6) > > > "Within a scoping unit, identifiers of entities in the following classes: > > (1) ..., abstract interfaces, generic inter

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-24 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #7 from Tobias Burnus 2011-11-24 14:04:20 UTC --- (In reply to comment #6) > "Within a scoping unit, identifiers of entities in the following classes: > (1) ..., abstract interfaces, generic interfaces, ... > are local identifiers in

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-24 Thread bardeau at iram dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #6 from Sebastien Bardeau 2011-11-24 13:23:18 UTC --- (In reply to comment #5) > It should be buried in "16 Scope, association, and definition", but I need > some > time to extract it. Ok, so did I. Here is what I can read section

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #5 from Tobias Burnus 2011-11-23 16:51:39 UTC --- (In reply to comment #4) > So basically you mean that in the gfortran implementation the subroutine name > is part of the scope this subroutine defines (which forbids any other entity

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-23 Thread bardeau at iram dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #4 from Sebastien Bardeau 2011-11-23 13:56:19 UTC --- (In reply to comment #3) > For links to the standards see: > http://gcc.gnu.org/wiki/GFortranStandards Ok thank you for this link, very useful. > I think the following of "11.

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #3 from Tobias Burnus 2011-11-23 10:22:12 UTC --- (In reply to comment #2) > Well, we are definitely interested in what the standard says exactly. For links to the standards see: http://gcc.gnu.org/wiki/GFortranStandards I think t

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-23 Thread bardeau at iram dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 --- Comment #2 from Sebastien Bardeau 2011-11-23 09:22:12 UTC --- Well, we are definitely interested in what the standard says exactly. Because if this is explicitly forbidden, we are wondering what the Fortran committee had in mind for programs

[Bug fortran/51268] [Regression] A subroutine can not know anymore its own interface

2011-11-22 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51268 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1