From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9136 invoked by alias); 7 Jan 2013 12:51:21 -0000 Received: (qmail 9083 invoked by uid 48); 7 Jan 2013 12:50:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/55884] [4.8 Regression] FAIL: libgomp.fortran/omp_parse3.f90 -O0 (test for excess errors) Date: Mon, 07 Jan 2013 12:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00475.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55884 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek 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.