This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Aug 2012 18:27:04 +0000
- Subject: [Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp
- Auto-submitted: auto-generated
- References: <bug-54033-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54033
--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-08-04 18:27:04 UTC ---
Author: hjl
Date: Sat Aug 4 18:26:56 2012
New Revision: 190144
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190144
Log:
Fix PR 54033, problems with -I, with test cases
PR fortran/54033
* scanner.c (add_path_to_list): New argument warn. Don't
warn if it is true.
(gfc_add_include_path): Warn if directory is missing.
(gfc_add_intrinsic_modules_path): Do not warn if directory
is missing.
* optinons.c (gfc_handle_option): Do not add directory
for intrinsic modules to normal include path.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/options.c
trunk/gcc/fortran/scanner.c