From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9021 invoked by alias); 7 Jan 2015 03:15:45 -0000 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 Received: (qmail 8927 invoked by uid 55); 7 Jan 2015 03:15:27 -0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/62250] FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib -O2 -lcaf_single Date: Wed, 07 Jan 2015 03:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg00349.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62250 --- Comment #6 from dave.anglin at bell dot net --- On 2015-01-06, at 9:06 PM, hp at gcc dot gnu.org wrote: > But instead causing these tests to fail for all targets that don't have > -latomic. > I.e. -latomic should only be added when there is one, otherwise assume that > support is built-in as before the patch. Also, the patch should have used > atomic-dg.exp instead of manually adding the search paths. That is clearly a better approach. What about the gfortran.dg/coarray_lib_comm_1.f90 test? Do you see a better alternative than adding "load_lib atomic-dg.exp" to gfortran.dg/dg.exp? -- John David Anglin dave.anglin@bell.net