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, Fortran] PR 33412 ELEMENTAL and language bindings conflict


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


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