This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58099] [4.8/4.9 Regression] [F03] over-zealous procedure-pointer error checking
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Sep 2013 10:38:04 +0000
- Subject: [Bug fortran/58099] [4.8/4.9 Regression] [F03] over-zealous procedure-pointer error checking
- Auto-submitted: auto-generated
- References: <bug-58099-4 at http dot gcc dot gnu dot org/bugzilla/>
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.