Warnings in simplify.c

Steve Kargl sgk@troutmask.apl.washington.edu
Mon May 19 13:56:00 GMT 2008


On Mon, May 19, 2008 at 01:22:39PM +0100, FX wrote:
> 
> On a related note, Steve's other patch introduced testcases that are failing:
> 
> FAIL: gfortran.dg/bind_c_module.f90  -O   (test for errors, line 13)
> FAIL: gfortran.dg/bind_c_module.f90  -O   (test for errors, line 20)
> FAIL: gfortran.dg/bind_c_module.f90  -O  (test for excess errors)
> 
> (I see it and Geoff's automatic regtester also does, see
> http://gcc.gnu.org/ml/gcc-testresults/2008-05/msg01682.html) It looks
> like there is a mismatch between the error message and the dg-error
> pattern:
> 
> /home/fxcoudert/devel/trunk6/gcc/testsuite/gfortran.dg/bind_c_module.f90:13.14:
> 
>   bind(c) :: a  ! { dg-error "attribute applied to" }
>              1
> Error: BIND(C) applied to MODULE a at (1)
> /home/fxcoudert/devel/trunk6/gcc/testsuite/gfortran.dg/bind_c_module.f90:20.14:
> 
>   bind(c) :: a  ! { dg-error "attribute applied to" }
>              1^M
> Error: BIND(C) applied to MODULE a at (1)
> 

Whoops.  That one is my screw up.  'BIND(C) attribute ...' looked
odded, so I did a last minute edit to remover 'attribute'.  Can
you fix the test case by removing 'attribute'.

-- 
Steve



More information about the Fortran mailing list