https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92613
Bug ID: 92613 Summary: Bogus warning with -cpp and -fpreprocessed Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jellby at yahoo dot com Target Milestone: --- $ cat a.f90 program test implicit none write(6,*) 'hello' ! it's good! end program $ gfortran -cpp a.f90 -E -o a.pp.f90 && gfortran -cpp -fpreprocessed a.pp.f90 a.f90:4:5: ! it's good! 1 Warning: missing terminating ' character I guess it doesn't make much sense to use -cpp and -fpreprocessed, but it may happen when using some tools (see https://gitlab.kitware.com/cmake/cmake/issues/17466). And, in any case, the warning is "wrong" since the quote is part of a comment line...