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

--- Comment #4 from janus at gcc dot gnu.org ---
Allocation-on-assignment works for 'normal' assignments of allocatable scalars,
as shown by this test case:


  IMPLICIT NONE
  TYPE :: test_typ
      REAL, ALLOCATABLE :: a
  END TYPE
  TYPE(test_typ) :: my_test_typ
  my_test_typ%a = 1.
  print *, my_test_typ%a 
END


We just have to make it work for structure constructors.

Reply via email to