This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36526] pointer in pure function
- 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: 25 Jun 2008 23:05:18 -0000
- Subject: [Bug fortran/36526] pointer in pure function
- References: <bug-36526-16322@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2008-06-25 23:05 -------
Subject: Bug 36526
Author: pault
Date: Wed Jun 25 23:04:33 2008
New Revision: 137125
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137125
Log:
2008-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36526
* interface.c (check_intents): Correct error where the actual
arg was checked for a pointer argument, rather than the formal.
2008-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36526
* gfortran.dg/proc_formal_proc_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pure_formal_proc_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36526