From patchwork Wed May 2 18:21:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greta Yorsh X-Patchwork-Id: 156530 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5975BB6FAF for ; Thu, 3 May 2012 04:20:19 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1336587620; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=ADjwsoSGi0TWrxIzPQEwsKzY9Iw=; b=j0p10Gv/2vRRC3X sWTVvmvOTl2PSaC+5nj6PldMbs5+7o3jXA1EI7CByEChyUqfl39sLy5M+WNx2kEO O30VibuhheykUcy45oRL77yrkpqy1Q5krOwa8y8N95rXWEoAZNmEXp9GvLWs6ckD ++sis6ff2BwoB9BGU5pSOxbKNMOM= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:From:To:Cc:Subject:Date:Message-ID:MIME-Version:X-MC-Unique:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=q6abkvy8DAGLWIYgYEanbUhU+iKXAIxrNE+NueCEuaqq4f2QCFIuxhXU5cgQEU MvED5SsQHjD3Ib/fuyZLRYSiScg0kgz61AOCvYbN9fRLz/fEkmeh9t9RWine1Ulw h8LFmMX6Cz/uMLA8qEzpSl+isp2g6Pksua4o9NbwflNnM=; Received: (qmail 17986 invoked by alias); 2 May 2012 18:20:14 -0000 Received: (qmail 17969 invoked by uid 22791); 2 May 2012 18:20:12 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, MSGID_MULTIPLE_AT, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 18:20:00 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 02 May 2012 19:19:58 +0100 Received: from E103079 ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 May 2012 19:21:27 +0100 From: "Greta Yorsh" To: "GCC Patches" Cc: "'Mike Stump'" , "Dodji Seketeli" Subject: [Patch, testsuite] missing -ftrack-macro-expansion=0 option in gcc.dg/builtin-stringop-chk-1.c Date: Wed, 2 May 2012 19:21:18 +0100 Message-ID: <000c01cd2890$5ec6f030$1c54d090$@Yorsh@arm.com> MIME-Version: 1.0 X-MC-Unique: 112050219195801001 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org The test gcc.dg/builtin-stringop-chk-1.c fails on arm-none-eabi because the command line option -ftrack-macro-expansion=0 is missing. This command-line option has recently been added to dg-options directive in this test, but for arm targets the first dg-options directive in the test is overwritten by a second dg-options that does not contain -ftrack-macro-expansion=0. This patch replaces the second dg-options directive with dg-additional-options. Fixed test passes on qemu. OK for trunk? Thanks, Greta gcc/testsuite 2012-05-02 Greta Yorsh * gcc.dg/builtin-stringop-chk-1.c (dg-options): Replace dg-options for target arm with dg-additional-options. extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c index beecab6..5cec6b3 100644 --- a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c +++ b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c @@ -2,7 +2,7 @@ are emitted properly. */ /* { dg-do compile } */ /* { dg-options "-O2 -std=gnu99 -ftrack-macro-expansion=0" } */ -/* { dg-options "-mstructure-size-boundary=8 -O2 -std=gnu99" { target arm*-*-* } } */ +/* { dg-additional-options "-mstructure-size-boundary=8" { target arm*-*-* } } */