https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92091
--- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > Am I correct to understand that #include is handled by the preprocessor? Yes. Other compilers always show the path to the included file in the warning. E.g. Intel: % ifort pr92091.f90 -stand -Iotherdir -c otherdir/inc1.f90(1): warning #7346: The CHARACTER* form of a CHARACTER declaration is an obsolescent feature in Fortran 2003. character*1 c ------------^ inc2.f90(1): warning #7346: The CHARACTER* form of a CHARACTER declaration is an obsolescent feature in Fortran 2003. character*2 d ------------^ Similarly for pr92091.F90 .