This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch ping (Re: [PATCH] Fortran include line fixes and -fdec-include support)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Cc: Mark Eggleston <mark dot eggleston at codethink dot co dot uk>, Jeff Law <law at redhat dot com>
- Date: Tue, 20 Nov 2018 18:02:47 +0100
- Subject: Patch ping (Re: [PATCH] Fortran include line fixes and -fdec-include support)
- References: <20181112145116.GS11625@tucnak>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
I'd like to ping this patch, ok for trunk?
> 2018-11-12 Jakub Jelinek <jakub@redhat.com>
> Mark Eggleston <mark.eggleston@codethink.com>
>
> * lang.opt (fdec-include): New option.
> * options.c (set_dec_flags): Set also flag_dec_include.
> * scanner.c (include_line): Change return type from bool to int.
> In fixed form allow spaces in between include keyword letters.
> For -fdec-include, allow in fixed form 0 in column 6. With
> -fdec-include return -1 if the parsed line is not full include
> statement and it could be successfully completed on continuation
> lines.
> (include_stmt): New function.
> (load_file): Adjust include_line caller. If it returns -1, keep
> trying include_stmt until it stops returning -1 whenever adding
> further line of input.
>
> * gfortran.dg/include_10.f: New test.
> * gfortran.dg/include_10.inc: New file.
> * gfortran.dg/include_11.f: New test.
> * gfortran.dg/include_12.f: New test.
> * gfortran.dg/include_13.f90: New test.
> * gfortran.dg/gomp/include_1.f: New test.
> * gfortran.dg/gomp/include_1.inc: New file.
> * gfortran.dg/gomp/include_2.f90: New test.
Jakub