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]

Patch ping (Re: [PATCH] Fortran include line fixes and -fdec-include support)


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


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