re PR fortran/71047 (Allocatable component of INTENT(OUT) dummy not set correctly)
commite75eb64fdf7296fa333f49f0186f1e219fed16ad
authorFritz Reese <fritzoreese@gmail.com>
Sat, 14 May 2016 15:29:13 +0000 (14 15:29 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 14 May 2016 15:29:13 +0000 (14 15:29 +0000)
treec0e35f95a24b7dfb90378e63c97ad2c70611d844
parent3a65d8d709ae9c42d15dc258d34cb8ec4b9ea122
re PR fortran/71047 (Allocatable component of INTENT(OUT) dummy not set correctly)

2016-05-14  Fritz Reese <fritzoreese@gmail.com>

PR fortran/71047
* expr.c (gfc_default_initializer): Avoid extra component refs in
constructors for derived types and classes.

2016-05-14  Fritz Reese <fritzoreese@gmail.com>
PR fortran/71047
* gfortran.dg/pr71047.f08: New test.

From-SVN: r236241
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr71047.f08 [new file with mode: 0644]