http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot 
ethz
                   |                            |.ch

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
---
Or is this a F2003 feature already in gfortran and not in other compilers?

I do see now (after moving the private attribute away)

gfortran -c -std=f95 bug.f90
bug.f90:8.27:

 TYPE(T2), PARAMETER :: D2=T2()
                           1
Error: Fortran 2003: Structure constructor with missing optional arguments at
(1)

Reply via email to