From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10070 invoked by alias); 12 Apr 2011 20:19:08 -0000 Received: (qmail 10057 invoked by uid 22791); 12 Apr 2011 20:19:07 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ew0-f47.google.com (HELO mail-ew0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Apr 2011 20:19:04 +0000 Received: by ewy5 with SMTP id 5so2283452ewy.20 for ; Tue, 12 Apr 2011 13:19:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.14 with SMTP id g14mr3096340ebc.63.1302639542699; Tue, 12 Apr 2011 13:19:02 -0700 (PDT) Received: by 10.213.10.20 with HTTP; Tue, 12 Apr 2011 13:19:02 -0700 (PDT) In-Reply-To: <4D9F24FB.7060901@codesourcery.com> References: <4D9F24FB.7060901@codesourcery.com> Date: Tue, 12 Apr 2011 20:19:00 -0000 Message-ID: Subject: Re: [testsuite] fix to gcc.target/arm/sync-1.c From: Ramana Radhakrishnan To: Janis Johnson Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00934.txt.bz2 On 8 April 2011 16:08, Janis Johnson wrote: > Test gcc.target/arm/sync-1.c specifies -march=3Darmv7-a and fails > execution for multilibs whose hardware or simulator doesn't support that > architecture. =A0The test uses __sync_fetch_and_add, which GCC doesn't > support for all arm targets. =A0Using the -march option allows it to > compile if the multilib options don't conflict, but the test fails at > runtime, often with hangs, if the simulator used for testing doesn't > support atomic builtins. =A0This patch removes the -march option and > restricts the test to targets that support atomic builtins. > > I don't yet have an FSF copyright assignment (it's currently in the > hands of the FSF) but this patch is small enough to not require one. =A0If > this is OK someone else will need to appy it. This is OK. Ramana >