Warnings in simplify.c
FX
fxcoudert@gmail.com
Mon May 19 14:02:00 GMT 2008
> 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'.
Committed the following:
2008-05-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/bind_c_module.f90: Adjust expected error messages.
Index: gfortran.dg/bind_c_module.f90
===================================================================
--- gfortran.dg/bind_c_module.f90 (revision 135513)
+++ gfortran.dg/bind_c_module.f90 (working copy)
@@ -10,13 +10,13 @@ module b
use iso_c_binding
use a
implicit none
- bind(c) :: a ! { dg-error "attribute applied to" }
+ bind(c) :: a ! { dg-error "applied to" }
end module b
! Causes ICE
module d
use a
implicit none
- bind(c) :: a ! { dg-error "attribute applied to" }
+ bind(c) :: a ! { dg-error "applied to" }
end module d
! { dg-final { cleanup-modules "a" } }
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/
More information about the Fortran
mailing list