re PR fortran/32881 (PURE attribute escapes from contained procedure)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Aug 2007 10:47:58 +0000 (10:47 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Aug 2007 10:47:58 +0000 (10:47 +0000)
commita595913e95d59f64670364c3dea31a4774c960f3
tree0b6bac623a9a3068f4d3c207d395d5bdb5dce707
parent58fbb917c900243b8d3831e70f607ee12db54cbf
re PR fortran/32881 (PURE attribute escapes from contained procedure)

2007-08-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32881
* expr.c (gfc_check_pointer_assign): If the rhs is the
initialization expression for the rhs, there is no error.

2007-08-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32881
* gfortran.dg/pure_initializer_1.f90: New test.

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