[Bug fortran/61156] [4.9/5/6 Regression] Internal compiler error for Fortran files when specifying a file instead of an include directory with -I
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Feb 23 15:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61156
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With the patch in comment 6 the test gfortran.dg/include_6.f90 has to be
updated to
--- ../_clean/gcc/testsuite/gfortran.dg/include_6.f90 2012-08-02
01:26:03.000000000 +0200
+++ gcc/testsuite/gfortran.dg/include_6.f90 2016-02-23 16:32:18.000000000
+0100
@@ -1,5 +1,5 @@
! { 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
-
+! { dg-prune-output "compilation terminated." }
More information about the Gcc-bugs
mailing list