http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55884
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-07 12:50:56 UTC --- Guess related to -fintrinsic-module-path. In some spots it still has the right argument: -fintrinsic-modules-path /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp but in other spots that argument is gone: -fintrinsic-modules-path -B ... thus -B is taken as -fintrinsic-modules-path argument and the original -B argument is considered another source file. Can you try perhaps: --- libgomp/testsuite/libgomp.fortran/fortran.exp 2012-12-20 11:38:48.663282599 +0100 +++ libgomp/testsuite/libgomp.fortran/fortran.exp 2013-01-07 13:45:51.557361907 +0100 @@ -14,7 +14,7 @@ set quadmath_library_path "../libquadmat dg-init if { $blddir != "" } { - lappend ALWAYS_CFLAGS "additional_flags=-fintrinsic-modules-path ${blddir}" + lappend ALWAYS_CFLAGS "additional_flags=-fintrinsic-modules-path${blddir}" # Look for a static libgfortran first. if [file exists "${blddir}/${lang_library_path}/libgfortran.a"] { set lang_test_file "${lang_library_path}/libgfortran.a" ? Though, I'd say using Joined Separate for such named option is just wrong, it is fine for single letter options like -B, -A, -D, -U etc., but for options of this kind I think it would be much better if it was fintrinsic-modules-path Fortran RejectNegative Separate Specify where to find the compiled intrinsic modules fintrinsic-modules-path= Fortran RejectNegative Joined Specify where to find the compiled intrinsic modules instead and handle OPT_fintrinsic_modules_path_ the same as OPT_fintrinsic_modules_path. But given that the option has been added already back in 2007, it is probably too late for that.