[Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 1 21:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54033
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-08-01 21:43:54 UTC ---
Author: tkoenig
Date: Wed Aug 1 21:43:50 2012
New Revision: 190054
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190054
Log:
2012-08-01 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/54033
* scanner.c (add_path_to_list): Emit warning if an error occurs
for an include path, if it is not present or if it is not a
directory. Do not add the path in these cases.
2012-08-01 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/54033
* gfortran.dg/include_6.f90: New test case.
* gfortran.dg/include_7.f90: New test case.
* gfortran.dg/include_3.f90: Add dg-warning for missing directory.
Added:
trunk/gcc/testsuite/gfortran.dg/include_6.f90
trunk/gcc/testsuite/gfortran.dg/include_7.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/scanner.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/include_3.f95
More information about the Gcc-bugs
mailing list