http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55884
--- Comment #10 from dave.anglin at bell dot net 2013-01-13 21:27:19 UTC ---
> 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.
With the attached change, the fortran libgomp testsuite runs without
errors.
Using a space to separate the option and its value still doesn't
work. Joining
option and value results in an unrecognizable option and all tests fail.
--
John David Anglin [email protected]