[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Sat May 16 12:33:01 2015 New Revision: 223238 URL: https://gcc.gnu.org/viewcvs?rev=223238&root=gcc&view=rev Log: 2015-05-16 Thomas Koenig PR fortran/66113 * expr.c (

[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 --- Comment #4 from Thomas Koenig --- The reason is that I want to make creation of temporary variables for arrays more sane. Currently, temporary arrays are handled using an allocatable array variable. This obviously does not work if -fno-reall

[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-11 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #3

[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 --- Comment #2 from Thomas Koenig --- (In reply to Dominique d'Humieres from comment #1) > Is not the code invalid? I don't think it is invalid. This works as expected: program main integer :: n n = 3 block block real, di

[Bug fortran/66113] Variable n cannot appear in the expression with nested blocks

2015-05-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66113 --- Comment #1 from Dominique d'Humieres --- Is not the code invalid?