From patchwork Wed Nov 8 10:00:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 835748 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-466225-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PINhTxYr"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yX1yp0bcTz9sNw for ; Wed, 8 Nov 2017 21:01:05 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=r63rKfk9nQSc4sta lhhedjBIxRFitzSG3XgGnAzfMlgt6EXHJ60hZnWoCUv52QoEaxSKbXP5LDmTo1mT riqwo1mwkIZSK8pBlfRgD/VH1tRYnREhiHcsAVDVqMEpaREM55zE5rmn2MfLvD4Q h9rQQXazHzYk3OGW3qg7/x7PU4c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=0MyA0KRBdWj1RvWEm2tnzY S7bk4=; b=PINhTxYrqa5L5Js2uFlv9Tv60LCZ71nLqnhhZQAAHWCLx6ZOnWdTmR cJgtRsOhg18R+9qeHqrpnxtS5sEXAWExf3OxBS+YlWiUropHPWUqNs6y96RHzduN zM4XZFBAb6flMKsVdDph69bEfNAxq6k+wRkuZfT5SkjWkd20iJicQ= Received: (qmail 21575 invoked by alias); 8 Nov 2017 10:00:56 -0000 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 Received: (qmail 21556 invoked by uid 89); 8 Nov 2017 10:00:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=UD:strlenopt-33g.c, strlenopt-33g.c, strlenopt33gc X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Nov 2017 10:00:45 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 4716D82248 for ; Wed, 8 Nov 2017 11:00:43 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEMAqkQsvkXy for ; Wed, 8 Nov 2017 11:00:43 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 15ACE81396 for ; Wed, 8 Nov 2017 11:00:43 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [testsuite] Remove duplicate dg-do command in gcc.dg/strlenopt-33g.c Date: Wed, 08 Nov 2017 11:00:42 +0100 Message-ID: <10069877.g6RPqNkPdx@polaris> User-Agent: KMail/4.14.10 (Linux/3.16.7-53-desktop; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 The second dg-do command overrides the first one with the target selector. Tested on x86_64-suse-linux, applied on the mainline as obvious. 2017-11-08 Eric Botcazou * gcc.dg/strlenopt-33g.c: Remove duplicate dg-do command. Index: gcc.dg/strlenopt-33g.c =================================================================== --- gcc.dg/strlenopt-33g.c (revision 254449) +++ gcc.dg/strlenopt-33g.c (working copy) @@ -1,5 +1,4 @@ /* { dg-do run { target *-*-linux* *-*-gnu* } } */ -/* { dg-do run } */ /* { dg-options "-O2 -fdump-tree-strlen" } */ #define USE_GNU