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

             Bug #: 53885
           Summary: seg. fault during assignment to allocatable component
                    withing type-bounded proc.
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: wangmianz...@linuxmail.org


Assignment within the type-bounded procedure to an UN-allocated component
causes seg. fault.
It seems, according to 7.2.1.2 & 7.2.1.3 of f2008 standard, the assignment to
unallocated item of intrinsic type should be valid.
Such assignment works if not within a type-bounded procedure.
The attached is a reduced example.

Reply via email to