From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17723 invoked by alias); 6 May 2009 10:30:30 -0000 Received: (qmail 17283 invoked by uid 48); 6 May 2009 10:29:38 -0000 Date: Wed, 06 May 2009 10:30:00 -0000 Message-ID: <20090506102938.17282.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40039] Procedures as actual arguments: Check intent of arguments In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg00431.txt.bz2 ------- Comment #1 from burnus at gcc dot gnu dot org 2009-05-06 10:29 ------- NAG f95 5.1 gives the following error: Error: line 21: Dummy proc F arg 1 has different INTENT from actual proc FUNC arg Error: line 21: Incompatible procedure argument for F (no. 2) of A After fixing this (intent INOUT -> IN), it is accepted by NAG f95. I think that is the same as the error message of ifort. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40039