2016-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backported from mainline
PR fortran/61156
* scanner.c (add_path_to_list): If include path is not a directory,
issue a fatal error.
* gfortran.dg/include_6.f90: Update test.
From-SVN: r233793
+2016-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ Backported from mainline
+ PR fortran/61156
+ * scanner.c (add_path_to_list): If include path is not a directory,
+ issue a fatal error.
+
2016-02-11 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
}
else if (!S_ISDIR (st.st_mode))
{
- gfc_warning_now ("\"%s\" is not a directory", path);
+ gfc_fatal_error ("\"%s\" is not a directory", path);
return;
}
+2016-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ Backport from mainline
+ PR fortran/61156
+ * gfortran.dg/include_6.f90: Update test.
+
2016-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from gcc-5-branch.
! { dg-do compile }
! { dg-options "-I gfortran.log" }
-! { dg-warning "is not a directory" "" { target *-*-* } 0 }
+! { dg-error "is not a directory" "" { target *-*-* } 0 }
end