------- Comment #6 from dfranke at gcc dot gnu dot org 2008-12-07 19:38 ------- Since libcpp integration, default search paths (i.e. /usr/local/ etc.) are used for #include'd files.
To add the default paths defined in gcc/cppdefault.c (cpp_include_defaults) to the module/INCLUDE search path, one could clone gcc/incpath.c (add_standard_paths) and call gfc_add_include_path() instead of add_path(). Tobias, do we still need/want this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35707