From patchwork Thu Feb 15 14:10:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 873862 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-473337-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="hJ1Ftb+G"; 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 3zhyql26CJz9t2f for ; Fri, 16 Feb 2018 01:11:15 +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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=TtA3V2cMJ5D53ejLt0P8S5mGzlFiTBgJlHuhqpgI3DkE7p3u6U sIKbQb9enCOV907RVMRRZHN/Eu3Zf604lOPyQAIr182hnI6SLp30xrzHpth+o0Lj dM2H7Cng/2D9TqvHEIeINhbrYLrbHxGLOoYtA4QHLTFzfq6gVbjBvRL7Q= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=zPSLFfmKRmUnXa+WLAvqpjXNH38=; b=hJ1Ftb+GWHvR5sEA+Ttp fedoQwxe+/GWKM0FylNEFgQ1/pkd1jjMHiucJUZXqLN0O5eliTOaJO96COX0RRma qSsF3LI/y1b/MY2d2zu/mwINdjEpjBUwBfg1rrgCAYmacsOIxmd2neOtcHSdwVFh iIpSxd5PN8lnzprDS4Dvz+E= Received: (qmail 63692 invoked by alias); 15 Feb 2018 14:11:08 -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 63682 invoked by uid 89); 15 Feb 2018 14:11:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Feb 2018 14:11:02 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1emKFZ-0001qC-0J from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Thu, 15 Feb 2018 06:11:01 -0800 Received: from [172.30.72.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 15 Feb 2018 14:10:57 +0000 To: GCC Patches From: Tom de Vries Subject: [testsuite, committed] Require et alloca for Wstringop-overflow-3.c Message-ID: Date: Thu, 15 Feb 2018 15:10:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Hi, this patch requires effective target alloca for test-case Wstringop-overflow-3.c. Committed. Thanks, - Tom [testsuite] Require et alloca for Wstringop-overflow-3.c 2018-02-15 Tom de Vries * gcc.dg/Wstringop-overflow-3.c: Require effective target alloca. --- gcc/testsuite/gcc.dg/Wstringop-overflow-3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c index 5901844..6c8cbf3 100644 --- a/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c +++ b/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c @@ -1,6 +1,7 @@ /* PR tree-optimization/84238 */ /* { dg-do compile } */ /* { dg-options "-O2" } */ +/* { dg-require-effective-target alloca } */ char a[1]; int b;