On Linux/x86-64, I got /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/dummy_procedure_1.f90:39.10:^M ^M call s1(i) ! { dg-error "Expected a procedure for argument" }^M 1^M Error: Expected a procedure for argument 'f' at (1)^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/dummy_procedure_1.f90:43.10:^M ^M call s1(z) ! { dg-error "Expected a procedure for argument" }^M 1^M Error: Expected a procedure for argument 'f' at (1)^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/dummy_procedure_1.f90:44.10:^M ^M call s2(x) ! { dg-error "Invalid procedure argument" }^M 1^M Error: Invalid procedure argument at (1)^M PASS: gfortran.dg/dummy_procedure_1.f90 -O (test for errors, line 39) FAIL: gfortran.dg/dummy_procedure_1.f90 -O (test for errors, line 40)
It failed with revision 163827 and worked with 163811. It may be caused by revision163813 : http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00104.html
Created attachment 21687 [details] Proposed patch Patch to fix this. I wonder why it did not show up for me before, but I'm taking this and will regtest/submit this nearly obvious patch now.
(In reply to comment #2) > Created an attachment (id=21687) [edit] > Proposed patch > > Patch to fix this. I wonder why it did not show up for me before, but I'm > taking this and will regtest/submit this nearly obvious patch now. > It is indeed obvious ; I pre-approve it and you don't even need to regtest, as your patch isn't changing any code.
Subject: Bug 45525 Author: domob Date: Fri Sep 3 19:50:44 2010 New Revision: 163840 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163840 Log: 2010-09-03 Daniel Kraft <d@domob.eu> PR fortran/45525 * gfortran.dg/dummy_procedure_1.f90: Add -std=f2003 and adapt error. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/dummy_procedure_1.f90
I guess we can close this now.