https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78499

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kargl at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #3 from kargl at gcc dot gnu.org ---
This appears to be fixed on trunk.
Closing.  Thanks for the bug report


 gfcx -c a.f90
a.f90:4:16:

    class(t) :: x = 0
                1
Error: CLASS variable 'x' at (1) must be dummy, allocatable or pointer
a.f90:4:18:

    class(t) :: x = 0
                  1
Error: Can't convert INTEGER(4) to CLASS(t) at (1)

Reply via email to