mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:50:51 +08:00
re PR fortran/61156 (Internal compiler error for Fortran files when specifying a file instead of an include directory with -I)
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. PR fortran/61156 * gfortran.dg/include_6.f90: Update test. From-SVN: r233649
This commit is contained in:
parent
edd65746c5
commit
7cc5ec657e
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -336,7 +336,7 @@ add_path_to_list (gfc_directorylist **list, const char *path,
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,5 +1,6 @@
|
||||
! { 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user