allocate_with_source_16.f90
1.43 KB
-
re PR fortran/69011 ([OOP] ICE in gfc_advance_chain for ALLOCATE with SOURCE) · 1c645536
gcc/testsuite/ChangeLog: 2015-12-29 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/69011 * gfortran.dg/allocate_with_source_16.f90: New test. gcc/fortran/ChangeLog: 2015-12-29 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/69011 * trans-stmt.c (gfc_trans_allocate): Unwrap a NOP_EXPR to make sure the actual type of the source=-expr is used when it is of class type. Furthermore prevent an ICE. From-SVN: r231992
Andre Vehreschild committed