[patch, fortran] PR36457: option '-idirafter' undefined for fortran

Daniel Franke franke.daniel@gmail.com
Sun Dec 7 19:30:00 GMT 2008


Attached patch fixes an issue on cygwin where the 'idirafter' option is 
passed/added by default.


2008-12-07  Daniel Franke  <franke.daniel@gmail.com>

	PR 36457/fortran
	* lang.opt: Added option idirafter.
	* cpp.h (gfc_cpp_add_include_path_after): New prototype.
	* cpp.c (gfc_cpp_handle_option): Recognize and handle OPT_dirafter.
	(gfc_cpp_add_include_path_after): New, adds user-defined search path after
	any other paths.
	* invoke.texi (idirafter): New.
	(no-range-check): Fixed entry in option-index.


Tested on cygwin by Angelo Graziosi and on i686-pc-linux-gnu by me.

Ok for trunk?

	Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36457.diff
Type: text/x-patch
Size: 2718 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081207/90715d3b/attachment.bin>


More information about the Fortran mailing list