This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR36526 - pointer in pure function
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 26 Jun 2008 01:06:41 +0200
- Subject: [Patch, fortran] PR36526 - pointer in pure function
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=rTD1FdlRVyiae844XsRGa2QZnOmklgd10vpcxAzyj74=; b=Yt0lmRN+uYHtz5JMKooorEvUyYDyVO8ZwwnhvFdzyfPlqQH6cEGDqURI3VLXYl4iUt 7qw18240/fegqKlP490UxS7JJzY7sb0f/1P6HgAFEsAMog4RXuJgymZGXlFa2yoT5bdn 0k4xcdE186zRZ5IIFI6RawNLqUgIx+oqTk6pw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=kQVSZkwfD+U9LraaDx4l4ig8Zu2Dq0c/Pnu/sGOBu0JDHGzWPOB6BMMg7k70rHWXKl qrIQYaGzT/a4Q5LqTk//70Ua+KTtWRpgtA9z35Kl8xknZTm/RaZFj8D9ZcByP4K7Ity/ bchokovBnC+0Pm4GgU6qSpgkdjrnvxO4y8uSI=
Committed as obvious:
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.
Cheers
Paul
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy