From patchwork Fri Dec 4 19:59:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 552880 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 212761402A9 for ; Sat, 5 Dec 2015 06:59:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=PnMiedyg; dkim-atps=neutral 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=GRaGtdHIOnWb7353TYCQyH0mzG8EkytvycgFv7tTqQUA/rt5Jq xTiHkT79ofFy9d9ywO9wl+dUst3sCkoIr08fsWKa1hQkLKBscftqol76T/xw7hNq 56NPvn4xl+thNMuphQoF9w1bRlt2kW+qd4vEAl2Fr2A/hJjp4wXaRvu0E= 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=WqVOS5phylq/AqK0YJ6iw7eK95w=; b=PnMiedygBdrSIhubylAW r6O91iTc47xv+lMTKUiHa+WpuEmrbEZFqEp6HjlNXWwP1WYvKYIH4GdJxPSoqTb5 Nc76zF+76+CzkkAGHElcjlTtnZYzgZji8ExbhEz5ZJTIL7IChDuXHdtUONcW/j5g clS5G98gSZtX02D7MAzTI8g= Received: (qmail 119026 invoked by alias); 4 Dec 2015 19:59:38 -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 119010 invoked by uid 89); 4 Dec 2015 19:59:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f51.google.com Received: from mail-qg0-f51.google.com (HELO mail-qg0-f51.google.com) (209.85.192.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 04 Dec 2015 19:59:36 +0000 Received: by qgea14 with SMTP id a14so97066367qge.0 for ; Fri, 04 Dec 2015 11:59:34 -0800 (PST) X-Received: by 10.140.141.138 with SMTP id 132mr22270701qhn.74.1449259174041; Fri, 04 Dec 2015 11:59:34 -0800 (PST) Received: from ?IPv6:2601:181:c000:c497:a2a8:cdff:fe3e:b48? ([2601:181:c000:c497:a2a8:cdff:fe3e:b48]) by smtp.googlemail.com with ESMTPSA id x44sm6136986qgx.44.2015.12.04.11.59.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 11:59:33 -0800 (PST) To: GCC Patches From: Nathan Sidwell Subject: [testsuite] VLA test uses alloca Message-ID: <5661F0A4.4050505@acm.org> Date: Fri, 4 Dec 2015 14:59:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 gcc.dg/vla-24.c uses alloca. Marked accordingly and committed as obvious. nathan 2015-12-04 Nathan Sidwell * gcc.dg/vla-24.c: Requires alloca. Index: testsuite/gcc.dg/vla-24.c =================================================================== --- testsuite/gcc.dg/vla-24.c (revision 231302) +++ testsuite/gcc.dg/vla-24.c (working copy) @@ -2,6 +2,7 @@ /* { dg-do run } */ /* { dg-options "-std=gnu99" } */ +/* { dg-require-effective-target alloca } */ extern void abort (void);