This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH} Using dg-additional-sources in gfortran testsuite


Billinghurst, David (CALCRTS) wrote:
From: Jerry DeLisle

Billinghurst, David (CALCRTS) wrote:

From: Jerry DeLisle David,

I am getting failures on 4.1 i686-pc-linux-gnu:

FAIL: gfortran.dg/f2c_5.f90 -O1 (test for excess errors)


Can you have a look at the output from the test in gfortran.log.
It's a complie time error, so any problem should be

glaringly obvious.


Here you go:
cc1: warning: command line option "-fno-f2c" is valid for F95 but not for C


Just committed this fix to cvs. Checked in the changes from the wrong tree.

2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com>

* gfortran.dg/f2c_5.f90: Add -w to dg-options


--- gfortran.dg/f2c_5.f90 5 Jun 2005 23:42:19 -0000 1.1
+++ gfortran.dg/f2c_5.f90 6 Jun 2005 03:00:08 -0000 1.2
@@ -1,6 +1,6 @@
! { dg-do run }
! { dg-additional-sources f2c_5.c }
-! { dg-options "-fno-f2c" }
+! { dg-options "-fno-f2c -w" }
! Check calling conventions without -ff2c
program f2c_5 call f2c_5a()


David,

That fixed it fine.

=== gfortran Summary ===

# of expected passes 7197
# of expected failures 24
/home/jerry/build/gcc-05-06-05/gcc/testsuite/../gfortran version 4.1.0 20050606 (experimental)


Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]