[Bug fortran/59414] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #18 from Paul Thomas pault at gcc dot gnu.org --- Author: pault Date: Sat Feb 1 22:31:53 2014 New Revision: 207390 URL: http://gcc.gnu.org/viewcvs?rev=207390root=gccview=rev Log: 2014-02-01 Paul Thomas pa...@gcc.gnu.org PR fortran/59414 * trans-stmt.c (gfc_trans_allocate): Before the pointer assignment to transfer the source _vptr to a class allocate expression, the final class reference should be exposed. The tail that includes the _data and array references is stored. This reduced expression is transferred to 'lhs' and the _vptr added. Then the tail is restored to the allocate expression. 2014-02-01 Paul Thomas pa...@gcc.gnu.org PR fortran/59414 * gfortran.dg/allocate_class_3.f90 : New test Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/allocate_class_3.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-stmt.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
[Bug fortran/59414] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 Paul Thomas pault at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #19 from Paul Thomas pault at gcc dot gnu.org --- Thanks for the report - fixed on 4.8 and 4.9 Paul
[Bug fortran/59414] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 Paul Thomas pault at gcc dot gnu.org changed: What|Removed |Added Summary|[4.8/4.9 Regression] [OOP] |[4.8 Regression] [OOP] ICE |ICE in in |in in |gfc_conv_expr_descriptor on |gfc_conv_expr_descriptor on |ALLOCATE inside SELECT TYPE |ALLOCATE inside SELECT TYPE --- Comment #17 from Paul Thomas pault at gcc dot gnu.org --- (In reply to Paul Thomas from comment #16) Author: pault Date: Tue Jan 28 20:10:22 2014 New Revision: 207204 ...snip... trunk/gcc/testsuite/gfortran.dg/elemental_by_value_1.f90 This was accidental and was removed in r207205. Sorry about the noise. Paul