PR fortran/61156
* scanner.c (add_path_to_list): If include path is not a directory,
issue a fatal error.
PR fortran/61156
* gfortran.dg/include_6.f90: Update test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233649
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/61156
+ * scanner.c (add_path_to_list): If include path is not a directory,
+ issue a fatal error.
+
2016-02-23 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/67451
}
else if (!S_ISDIR (st.st_mode))
{
- gfc_warning_now (0, "%qs is not a directory", path);
+ gfc_fatal_error ("%qs is not a directory", path);
return;
}
+2016-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/61156
+ * gfortran.dg/include_6.f90: Update test.
+
2016-02-23 Jakub Jelinek <jakub@redhat.com>
PR objc/69844
! { dg-do compile }
! { dg-options "-I gfortran.log" }
-! { dg-warning "is not a directory" "" { target *-*-* } 0 }
+! { dg-error "is not a directory" "" { target *-*-* } 0 }
+! { dg-prune-output "compilation terminated." }
end