http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55932
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-01-10 CC| |bur...@net-b.de Ever Confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-01-10 10:38:05 UTC --- This is a bug with allocatable scalars (the code is rejected with -std=f95). The code work as expected if I replace 'REAL, ALLOCATABLE :: a' with 'REAL, ALLOCATABLE :: a(:)' and 'a=1.0' with 'a=[1.0]'. AFAIK all the allocatable scalar bugs have not yet been fixed and this PR may be a duplicate of an existing one. Workaround: don't use allocatable scalars if you can.