This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 33412 ELEMENTAL and language bindings conflict
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Thu, 13 Sep 2007 10:41:23 -0700
- Subject: Re: [Patch, Fortran] PR 33412 ELEMENTAL and language bindings conflict
- References: <46E84D48.5070805@net-b.de>
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