[Bug fortran/82976] [8 Regression] Error: non-trivial conversion at assignment since r254526

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 20 20:22:00 GMT 2018


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

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
FWITW, here's a shorter test case:

PROGRAM main

    TYPE :: test_typ
        REAL, ALLOCATABLE :: a(:)
    END TYPE

    TYPE(test_typ) :: yy
    TYPE(test_typ), ALLOCATABLE :: conc(:)

    conc = [ yy ]

END PROGRAM main


More information about the Gcc-bugs mailing list