------- Comment #8 from dfranke at gcc dot gnu dot org 2008-01-30 22:22 ------- > Not actively. It's probably not so hard, though: read the file, like we > do with -fsyntax-only mode, and parse #file headers.
FX, I'm lost here. The flag_syntax_only is not used anywhere in the fortran directory, but only in places like gcc/toplev.c(compile_file) to, as I understand it, e.g. avoid code generation. As I see it, gfortran never knows it does syntax checking only?! What exactly do you mean by "#file headers"? Preprocessor include directives as `#include "foo.inc"`? Last but not least: did you intend to use the mkdeps-interface of libcpp or to craft something on your own? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31588