https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71196
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #6 from anlauf at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #5)
> $ cat z8.f90
> program p
> type t
> character(3) :: c
> integer :: i
> end type
> type t2
> type(t) :: a
> end type
> type(t2) :: x
> data x%a%i / 1 /
> print *, x
> end
> # ICE, see comment above
Adding -fdump-fortran-original may give a possible hint as to the origin of the
problem:
symtree: 'x' || symbol: 'x'
type spec : (DERIVED t2)
attributes: (VARIABLE DATA)
value: t2(t(1))
This cannot be right.