This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32881] PURE attribute escapes from contained procedure
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2007 10:48:11 -0000
- Subject: [Bug fortran/32881] PURE attribute escapes from contained procedure
- References: <bug-32881-11659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pault at gcc dot gnu dot org 2007-08-18 10:48 -------
Subject: Bug 32881
Author: pault
Date: Sat Aug 18 10:47:58 2007
New Revision: 127611
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127611
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/pure_initializer_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32881