re PR fortran/55919 (Bogus warning with -J directory/)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 21 Jan 2013 19:34:49 +0000 (19:34 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 21 Jan 2013 19:34:49 +0000 (19:34 +0000)
commitbfc1665471645a0c087ebfcf2aadaa9f93fb8be6
treea497b79fd25f505a51f14cd7f475f9a76e186e43
parent62e896818a07297d3469cdd185402c52768c01c2
re PR fortran/55919 (Bogus warning with -J directory/)

2013-01-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55919
* scanner.c (add_path_to_list): Copy path to temporary and strip
trailing directory separators before calling stat().

2013-01-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55919
* gfortran.dg/include_8.f90:  New test.

From-SVN: r195348
gcc/fortran/ChangeLog
gcc/fortran/scanner.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/include_8.f90 [new file with mode: 0644]