From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15960 invoked by alias); 20 Sep 2013 10:38:07 -0000 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 Received: (qmail 15911 invoked by uid 48); 20 Sep 2013 10:38:05 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58099] [4.8/4.9 Regression] [F03] over-zealous procedure-pointer error checking Date: Fri, 20 Sep 2013 10:38: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-Version: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg01489.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58099 --- Comment #19 from janus at gcc dot gnu.org --- (In reply to janus from comment #18) > This is avoided by the following improved patch (which just 'silently' sets > the attributes): That version still yields a good number of testsuite failures, but it seems like most of them are due to invalid code that was not detected previously: FAIL: gfortran.dg/proc_decl_9.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_1.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_11.f90 -O (test for excess errors) FAIL: gfortran.dg/proc_ptr_12.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_15.f90 -O (test for excess errors) FAIL: gfortran.dg/proc_ptr_6.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_common_1.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_result_1.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_result_2.f90 -O (test for excess errors) FAIL: gfortran.dg/proc_ptr_result_8.f90 -O (test for excess errors) FAIL: gfortran.dg/sizeof_proc.f90 -O (test for excess errors) So for now I'm assuming the patch is fine. I will go through the above list in detail and update the test cases accordingly.