re PR fortran/79229 (ICE in gfc_trans_assignment_1 with -fcheck=mem)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 19 Feb 2017 18:43:49 +0000 (19:43 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 19 Feb 2017 18:43:49 +0000 (19:43 +0100)
commit4ca4d1e95e39d256095f8274d8dd0d04aed603da
treebb58e020c2ac474097b535a37750596b6616dbf1
parentdea71ad06f751484f3eb5c52bf12622e4c06b33a
re PR fortran/79229 (ICE in gfc_trans_assignment_1 with -fcheck=mem)

gcc/testsuite/ChangeLog:

2017-02-19  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/79229
* gfortran.dg/class_allocate_24.f90: New test.

gcc/fortran/ChangeLog:

2017-02-19  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/79229
* trans-expr.c (gfc_trans_assignment_1): Deref indirect refs when
compiling with -fcheck=mem to check the pointer and not the data.

From-SVN: r245581
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_24.f90 [new file with mode: 0644]