[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #10 from Jerry DeLisle --- Author: jvdelisle Date: Fri Jul 15 19:58:55 2016 New Revision: 238400 URL: https://gcc.gnu.org/viewcvs?rev=238400=gcc=rev Log: 2016-07-15 Jerry DeLisle Marco Restelli

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-12 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #9 from mrestelli --- Here is a test; should compile and run without errors. module m implicit none type, abstract :: t1 logical :: l end type t1 type, extends(t1), abstract :: t2 integer :: i end type t2 type,

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #8 from Dominique d'Humieres --- I confirm that the patch in comment 5 allows the test to be compiled without regression. A test case showing that the code executes as expected is needed to avoid to replace reject-valid with

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-12 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #7 from mrestelli --- (In reply to Jerry DeLisle from comment #6) > I tested the patch. No regressions. Works as advertised. > > I will submit the patch for approval and see if we can commit it. > > Thanks! :-) (first time I try

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-11 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-11 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #5 from mrestelli --- I think the following patch could solve the problem: Index: gcc/fortran/symbol.c === --- gcc/fortran/symbol.c(revision 238083) +++

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2014-08-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Harald Anlauf anlauf at gmx dot de changed: What|Removed |Added CC||anlauf at gmx dot de

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2014-08-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|WAITING |NEW ---

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2014-08-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2014-08-14 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #2 from mrestelli mrestelli at gmail dot com --- I can not say 100% that the code is correct, but at least reading 8.6 The SELECT TYPE Construct of The Fortran 2003 Handbook I don't see why it shouldn't. Notice that: among rules and