This is the mail archive of the gcc-bugs@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]

[Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp


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


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