* options.c (gfc_handle_module_path_options): Path used in -J
option is now added to the module search path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121000
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/30446
+ * options.c (gfc_handle_module_path_options): Path used in -J
+ option is now added to the module search path.
+
2007-01-20 Richard Guenther <rguenther@suse.de>
PR fortran/30223
gfc_option.module_dir = (char *) gfc_getmem (strlen (arg) + 2);
strcpy (gfc_option.module_dir, arg);
strcat (gfc_option.module_dir, "/");
+
+ gfc_add_include_path (gfc_option.module_dir, true);
}
static void