From patchwork Tue Nov 22 15:12:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 697748 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 3tNTVC6SqFz9sxS for ; Wed, 23 Nov 2016 02:12:35 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="arWnEg85"; 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 :content-transfer-encoding; q=dns; s=default; b=CLj7cB48CIWDhSaW LfZ9OqHc9ouuDmUX1blgLiI4nBTymdUFji9K4ZpMB3xBqUPuy/REo+f7/98bsagX p9jxL4RGsTeD2FnUc3Mrb/ebY/IrTUOdaL1aNBrrjk8Uu5wjBw6/fFHOZl5eusC0 bKyyxXPyrjmIovpBGJgdiV96W0c= 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 :content-transfer-encoding; s=default; bh=tfvH4O/hxDjXV5aANjbJPn Xo5g8=; b=arWnEg85bbG2tf95wCWIBa9YA5WHMGqa6Tgj8MrsfXuenro5FSw+rL hJHta0Q1QJka1vxfF/ahEXsZmWjDmB9yHtqMpCZb1rIDw9+83ga3cLzRTXs0kXEo 4mETkAdgga8MAJITa3hOde7s/ncS8TID7CGWXhD9LWB3nCUzZ1NmQ= Received: (qmail 14282 invoked by alias); 22 Nov 2016 15:12:19 -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 14252 invoked by uid 89); 22 Nov 2016 15:12:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (81.169.146.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Nov 2016 15:12:08 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT3ol15ykJcYwR/bcHRirORRW3yMcVao= X-RZG-CLASS-ID: mo00 Received: from [192.168.0.123] (mail.hightec-rt.com [213.135.1.215]) by smtp.strato.de (RZmta 39.9 DYNA|AUTH) with ESMTPSA id C01955sAMFC4A6v (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Tue, 22 Nov 2016 16:12:04 +0100 (CET) To: gcc-patches From: Georg-Johann Lay Subject: [testsuite,committed]: Restrict 2 test cases to big targets. Message-ID: Date: Tue, 22 Nov 2016 16:12:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 X-IsSubscribed: yes This adds requirements for 2 test cases: loop-split.c needs 32-bit int at least. Use int32plus as I didn't intend to change the very test case. gcc.dg/stack-layout-dynamic-1.c aligns the stack to 16 bits so ptr32plus seems reasonable. Committed to trunk. Johann gcc/testsuite/ * gcc.dg/loop-split.c: Require int32plus. * gcc.dg/stack-layout-dynamic-1.c: Require ptr32plus. Index: gcc.dg/loop-split.c =================================================================== --- gcc.dg/loop-split.c (revision 242541) +++ gcc.dg/loop-split.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2 -fsplit-loops -fdump-tree-lsplit-details" } */ +/* { dg-require-effective-target int32plus } */ #ifdef __cplusplus extern "C" int printf (const char *, ...); Index: gcc.dg/stack-layout-dynamic-1.c =================================================================== --- gcc.dg/stack-layout-dynamic-1.c (revision 242541) +++ gcc.dg/stack-layout-dynamic-1.c (working copy) @@ -2,6 +2,7 @@ in one pass together with normal local variables. */ /* { dg-do compile } */ /* { dg-options "-O0 -fomit-frame-pointer" } */ +/* { dg-require-effective-target ptr32plus } */ extern void bar (void *, void *, void *); void foo (void)