http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
--- Comment #5 from janus at gcc dot gnu.org 2012-12-28 21:53:38 UTC ---
There are problems with handling CLASS components in
gfc_trans_subcomponent_assign:
Index: gcc/fortran/trans-expr.c
===
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
--- Comment #4 from janus at gcc dot gnu.org 2012-12-28 20:19:06 UTC ---
After getting past the error messages with the patches in comment 2 and 3, the
test case segfaults with the following backtrace:
internal compiler error: Segmentation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
--- Comment #3 from janus at gcc dot gnu.org 2012-12-28 19:23:38 UTC ---
The second error is fixed by the following:
Index: gcc/fortran/intrinsic.c
===
--- gcc/fortran/intrin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
janus at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
--- Comment #1 from janus at gcc dot gnu.org 2012-12-28 17:36:39 UTC ---
Reduced test case:
program construct_poly
implicit none
type :: interior
real :: x
end type interior
type :: t_ptr
class(interior), poi