From patchwork Wed Sep 9 17:53:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 1360867 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=Ci2iyrgG; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BmqPV2WYpz9sTS for ; Thu, 10 Sep 2020 03:53:17 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 95801385782B; Wed, 9 Sep 2020 17:53:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95801385782B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599673993; bh=0rg5+LEu9LtxnYPfYwTLLSgNGa1QICuieE6F2MXR3Wc=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Ci2iyrgGr8kWSK1ErOMj6BWrtX82M57kbS1zWFs2QiRVoBwuP8dRzWQYaCeGoi4R8 uvTx6r1BJHe85dg2JLX6/GkIwpJdvEhky0OUMWthQzukxBnxmtZ/Z7wKvaPxNy/xNI h3cHyW9BCOgfdcIeit/YmqxfrakRRuQMreQ9fcMk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 58DA93857C59 for ; Wed, 9 Sep 2020 17:53:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 58DA93857C59 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-84-ocrIHl0_PLuga08CUWpqgw-1; Wed, 09 Sep 2020 13:53:10 -0400 X-MC-Unique: ocrIHl0_PLuga08CUWpqgw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 55DA5801AE8 for ; Wed, 9 Sep 2020 17:53:09 +0000 (UTC) Received: from pdp-11.redhat.com (ovpn-116-75.rdu2.redhat.com [10.10.116.75]) by smtp.corp.redhat.com (Postfix) with ESMTP id 147DE27C21 for ; Wed, 9 Sep 2020 17:53:08 +0000 (UTC) To: GCC Patches Subject: [pushed] testsuite: Move auto-96647.C to c++1y/. Date: Wed, 9 Sep 2020 13:53:06 -0400 Message-Id: <20200909175306.3945777-1-polacek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Marek Polacek via Gcc-patches From: Marek Polacek Reply-To: Marek Polacek Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" This test uses a C++14 feature so fails with -std=c++11. Therefore I've moved it to cpp1y/ and used target c++14. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/auto-96647.C: Moved to... * g++.dg/cpp1y/auto-96647.C: ...here. Use target c++14. --- gcc/testsuite/g++.dg/{cpp0x => cpp1y}/auto-96647.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename gcc/testsuite/g++.dg/{cpp0x => cpp1y}/auto-96647.C (78%) base-commit: bf69edf8ce47ca618eff30df2308279a40b22096 diff --git a/gcc/testsuite/g++.dg/cpp0x/auto-96647.C b/gcc/testsuite/g++.dg/cpp1y/auto-96647.C similarity index 78% rename from gcc/testsuite/g++.dg/cpp0x/auto-96647.C rename to gcc/testsuite/g++.dg/cpp1y/auto-96647.C index 314b2a16ac2..8cbe155415c 100644 --- a/gcc/testsuite/g++.dg/cpp0x/auto-96647.C +++ b/gcc/testsuite/g++.dg/cpp1y/auto-96647.C @@ -1,5 +1,5 @@ // PR c++/96647 -// { dg-do compile { target c++11 } } +// { dg-do compile { target c++14 } } template struct Base {