[Patch, Fortran] PR 33412 ELEMENTAL and language bindings conflict

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Sep 13 17:57:00 GMT 2007


On Wed, Sep 12, 2007 at 10:34:16PM +0200, Tobias Burnus wrote:
> 2007-09-12  Tobias Burnus  <burnus@net-b.de>
> 
> 	PR fortran/33412
> 	* symbol.c (check_conflict): Add conflict of ELEMENTAL with Bind(C).
> 
> 2007-09-12  Tobias Burnus  <burnus@net-b.de>
> 
> 	PR fortran/33412
> 	* gfortran.dg/elemental_bind_c.f90: New.

OK (with one comment for my own understanding)

> @@ -0,0 +1,10 @@
> +! {dg-do compile }
> +!
> +! PR fortran/33412
> +!
> +elemental subroutine a() bind(c) ! { dg-error "BIND.C. attribute conflicts with ELEMENTAL" }

Why does the dg-error message contain "BIND.C." instead of "BIND(C)"?
Is this a tcl regex parsing issue?

-- 
Steve



More information about the Gcc-patches mailing list