This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] PR fortran/92470 Fixes for CFI_address
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Tobias Burnus <tobias at codesourcery dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, fortran <fortran at gcc dot gnu dot org>
- Date: Thu, 14 Nov 2019 09:32:12 +0100
- Subject: Re: [Patch] PR fortran/92470 Fixes for CFI_address
- References: <7277b261-b0c9-018a-c4f5-c4c9ae0c8362@codesourcery.com> <20191114003156.GS4650@tucnak> <mvmh836x3kd.fsf@suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Nov 14, 2019 at 09:30:42AM +0100, Andreas Schwab wrote:
> On Nov 14 2019, Jakub Jelinek wrote:
>
> > --- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c.jj 2019-11-13 10:54:37.081172852 +0100
> > +++ gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c 2019-11-14 01:19:36.704285484 +0100
> > @@ -2,7 +2,7 @@
> >
> > #include <stdio.h>
> > #include <assert.h>
> > -#include "ISO_Fortran_binding.h"
> > +#include "../../../libgfortran/ISO_Fortran_binding.h"
>
> Shoudn't that be fixed generically, by directing the compiler to use the
> uninstalled headers?
Maybem it just needs somebody to spend the time and do the header discovery
in gfortran.dg.
The above is what is used in other testcases.
Jakub