From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31877 invoked by alias); 14 Sep 2011 13:33:09 -0000 Received: (qmail 31865 invoked by uid 22791); 14 Sep 2011 13:33:08 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Sep 2011 13:32:14 +0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47978] [OOP] Invalid INTENT in overriding TBP not detected Date: Wed, 14 Sep 2011 13:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-09/txt/msg00967.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47978 --- Comment #7 from Dominique d'Humieres 2011-09-14 13:31:15 UTC --- Janus, I am worried about your fix as it seems to break at least the original tests of pr41656 and pr41685: pr41656.f90:68.13: procedure, pass(a) :: s_scal => s_coo_scal 1 Error: Argument mismatch for the overriding procedure 's_scal' at (1): INTENT mismatch in argument 'a' pr41656.f90:67.13: procedure, pass(a) :: s_scals => s_coo_scals 1 Error: Argument mismatch for the overriding procedure 's_scals' at (1): INTENT mismatch in argument 'a' pr41656.f90:174.6: use s_base_mat_mod 1 Fatal Error: Can't open module file 's_base_mat_mod.mod' for reading at (1): No such file or directory Could you double check with Salvatore that it is the intended behavior?