[Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 4 18:27:00 GMT 2012
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
More information about the Gcc-bugs
mailing list