Executing on host: /home/dave/gnu/gcc-4.3/objdir/gcc/testsuite/gfortran/../../gf ortran -B/home/dave/gnu/gcc-4.3/objdir/gcc/testsuite/gfortran/../../ /home/dave/ gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90 -O -pedantic-error s -S -o proc_decl_1.s (timeout = 300) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:14.21:
procedure(), public, private :: a ! { dg-error "was already specified" } 1 Error: ACCESS specification at (1) was already specified /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:15.30: procedure(sub),bind(C) :: a2 ! { dg-error "requires an interface with BIND.C 1 Error: BIND(C) attribute at (1) requires an interface with BIND(C) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:16.55: procedure(sub2), public, bind(c, name="myEF") :: e, f ! { dg-error "Multiple 1 Error: Multiple identifiers provided with single NAME= specifier at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:17.49: procedure(sub2), bind(C, name=""), pointer :: g ! { dg-error "may not have P 1 Error: BIND(C) procedure with NAME may not have POINTER attribute at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:20.24: procedure(),public:: h ! { dg-error "was already specified" } 1 Error: ACCESS specification at (1) was already specified /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:35.13: procedure(z) :: bar ! { dg-error "may not be generic" } 1 Error: Interface 'z' at (1) may not be generic /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:37.30: procedure(), allocatable:: b ! { dg-error "PROCEDURE attribute conflicts wit 1 Error: PROCEDURE attribute conflicts with ALLOCATABLE attribute at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:38.23: procedure(), save:: c ! { dg-error "PROCEDURE attribute conflicts with SAVE 1 Error: PROCEDURE attribute conflicts with SAVE attribute in 'c' at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:41.17: procedure(amax0) :: my2 ! { dg-error "not allowed in PROCEDURE statement" } 1 Error: Intrinsic procedure 'amax0' not allowed in PROCEDURE statement at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:43.27: procedure(),pointer:: ptr ! { dg-error "not yet implemented" } 1 Error: Fortran 2003: Procedure pointers at (1) are not yet implemented in gfortran /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:46.13: procedure(),pointer:: p ! { dg-error "not yet implemented" } 1 Error: Fortran 2003: Procedure components at (1) are not yet implemented in gfortran /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:53.13: procedure(f) :: q ! { dg-error "may not be a statement function" } 1 Error: Interface 'f' at (1) may not be a statement function /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:63.41: procedure(b), bind(c,name="hjj") :: a ! { dg-error "may not have BIND.C. a 1 Error: Dummy procedure at (1) may not have BIND(C) attribute with NAME /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:64.31: procedure(c),intent(in):: c ! { dg-error "PROCEDURE attribute conflicts wi 1 Error: PROCEDURE attribute conflicts with INTENT attribute in 'c' at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:54.20: procedure(oo) :: p ! { dg-error "must be explicit" } 1 Error: Interface 'oo' of procedure 'p' at (1) must be explicit /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:74.13: entry abc2(x) ! { dg-error "PROCEDURE attribute conflicts with ENTRY attribute 1 Error: PROCEDURE attribute conflicts with ENTRY acompiler exited with status 1 output is: /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:14.21: procedure(), public, private :: a ! { dg-error "was already specified" } 1 Error: ACCESS specification at (1) was already specified /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:15.30: procedure(sub),bind(C) :: a2 ! { dg-error "requires an interface with BIND.C 1 Error: BIND(C) attribute at (1) requires an interface with BIND(C) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:16.55: procedure(sub2), public, bind(c, name="myEF") :: e, f ! { dg-error "Multiple 1 Error: Multiple identifiers provided with single NAME= specifier at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:17.49: procedure(sub2), bind(C, name=""), pointer :: g ! { dg-error "may not have P 1 Error: BIND(C) procedure with NAME may not have POINTER attribute at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:20.24: procedure(),public:: h ! { dg-error "was already specified" } 1 Error: ACCESS specification at (1) was already specified /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:35.13: procedure(z) :: bar ! { dg-error "may not be generic" } 1 Error: Interface 'z' at (1) may not be generic /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:37.30: procedure(), allocatable:: b ! { dg-error "PROCEDURE attribute conflicts wit 1 Error: PROCEDURE attribute conflicts with ALLOCATABLE attribute at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:38.23: procedure(), save:: c ! { dg-error "PROCEDURE attribute conflicts with SAVE 1 Error: PROCEDURE attribute conflicts with SAVE attribute in 'c' at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:41.17: procedure(amax0) :: my2 ! { dg-error "not allowed in PROCEDURE statement" } 1 Error: Intrinsic procedure 'amax0' not allowed in PROCEDURE statement at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:43.27: procedure(),pointer:: ptr ! { dg-error "not yet implemented" } 1 Error: Fortran 2003: Procedure pointers at (1) are not yet implemented in gfortran /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:46.13: procedure(),pointer:: p ! { dg-error "not yet implemented" } 1 Error: Fortran 2003: Procedure components at (1) are not yet implemented in gfortran /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:53.13: procedure(f) :: q ! { dg-error "may not be a statement function" } 1 Error: Interface 'f' at (1) may not be a statement function /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:63.41: procedure(b), bind(c,name="hjj") :: a ! { dg-error "may not have BIND.C. a 1 Error: Dummy procedure at (1) may not have BIND(C) attribute with NAME /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:64.31: procedure(c),intent(in):: c ! { dg-error "PROCEDURE attribute conflicts wi 1 Error: PROCEDURE attribute conflicts with INTENT attribute in 'c' at (1) /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:54.20: procedure(oo) :: p ! { dg-error "must be explicit" } 1 Error: Interface 'oo' of procedure 'p' at (1) must be explicit /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:74.13: entry abc2(x) ! { dg-error "PROCEDURE attribute conflicts with ENTRY attribute 1 Error: PROCEDURE attribute conflicts with ENTRY a PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 14) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 15) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 16) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 17) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 20) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 35) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 37) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 38) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 41) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 43) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 46) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 53) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 54) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 63) PASS: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 64) FAIL: gfortran.dg/proc_decl_1.f90 -O (test for errors, line 74) FAIL: gfortran.dg/proc_decl_1.f90 -O (test for excess errors) Excess errors: /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gfortran.dg/proc_decl_1.f90:74.13: entry abc2(x) ! { dg-error "PROCEDURE attribute conflicts with ENTRY attribute 1 Error: PROCEDURE attribute conflicts with ENTRY a -- Summary: FAIL: gfortran.dg/proc_decl_1.f90 -O (test for excess errors) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa-unknown-linux-gnu GCC host triplet: hppa-unknown-linux-gnu GCC target triplet: hppa-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34388