re PR fortran/65889 ([6 Regressions] [OOP] ICE with sizeof a polymorphic variable.)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 7 Oct 2015 10:58:46 +0000 (12:58 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 7 Oct 2015 10:58:46 +0000 (12:58 +0200)
commitb0ae33baab449487d7438b6458d42887941e7d11
tree7ba26ec840e54efa14fcbb0d612f3825a8ddaa14
parent735e9641080601b1af22c2077075ca3144ee799b
re PR fortran/65889 ([6 Regressions] [OOP] ICE with sizeof a polymorphic variable.)

gcc/fortran/ChangeLog:

2015-10-07  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/65889
* trans-intrinsic.c (gfc_conv_intrinsic_sizeof): Handle pointer to and
on stack class objects as sizeof parameter.

gcc/testsuite/ChangeLog:

2015-10-07  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/65889
* gfortran.dg/sizeof_5.f90: New test.

From-SVN: r228566
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/sizeof_5.f90 [new file with mode: 0644]