This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR36457: option '-idirafter' undefined for fortran
- From: Tobias Burnus <burnus at net-b dot de>
- To: Daniel Franke <franke dot daniel at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, Angelo Graziosi <angelo dot graziosi at alice dot it>
- Date: Tue, 09 Dec 2008 19:53:28 +0100
- Subject: Re: [patch, fortran] PR36457: option '-idirafter' undefined for fortran
- Newsgroups: gmane.comp.gcc.fortran, gmane.comp.gcc.patches
- References: <200812072019.37114.franke.daniel@gmail.com>
Daniel Franke wrote:
> 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?
OK. Thanks for the patch.
Tobias