From patchwork Thu Sep 1 11:15:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Senthil Kumar Selvaraj X-Patchwork-Id: 664893 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 3sQ07R0Lyqz9s2k for ; Thu, 1 Sep 2016 21:16:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=nRvk8N6W; 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:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=WXMmDsxz/EZIcwLGq6+Xjmq014kKNtePhW1vp739amOQKY9Fn+CJJ RpVM4S0WB3aM6jwOU1is4a7dFDh2r3P86warLzwr4S5XwVb14F3iTisu7Y8maaB5 9cmddATJ4xkK5a+7G7U7tJ0MuKtHzkR16Flspnam+vQmaR7f0TOz9c= 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; s= default; bh=92RYBiMaqB4sXjnh3R49mC27/Gc=; b=nRvk8N6WD/36irERTsHB cvzY9zOEExpYiC5eSlpB9FgzatlOUwLe+7TdEEtcNb3RWulkkLqQDrtL5Mx5ss9H djC+dCL2FLCvHdzu+q7lexJyU+FTQ4M/mHSavBhqtkHFG5UIKa4XgLE/avL11hhT g7nSbKGqQcxfNPDjBL4wgRE= Received: (qmail 71464 invoked by alias); 1 Sep 2016 11:16:10 -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 71451 invoked by uid 89); 1 Sep 2016 11:16:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20, KAM_ASCII_DIVIDERS, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=D*atmel.com, H*F:D*atmel.com, H*M:atmel, H*r:14.3.235 X-HELO: eusmtp01.atmel.com Received: from eusmtp01.atmel.com (HELO eusmtp01.atmel.com) (212.144.249.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Sep 2016 11:15:59 +0000 Received: from HNOCHT02.corp.atmel.com (10.145.133.41) by eusmtp01.atmel.com (10.145.145.30) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 1 Sep 2016 13:15:51 +0200 Received: from jaguar.atmel.com (10.145.133.18) by HNOCHT02.corp.atmel.com (10.145.133.41) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 1 Sep 2016 13:15:55 +0200 User-agent: mu4e 0.9.17; emacs 24.5.1 From: Senthil Kumar Selvaraj To: GCC Patches Subject: [Patch, testsuite] Fix more bogus failures for avr Date: Thu, 1 Sep 2016 16:45:05 +0530 Message-ID: <87h99zzxae.fsf@atmel.com> MIME-Version: 1.0 X-IsSubscribed: yes Hi, The below patch fixes some bogus testsuite failures for the avr target. The first three expect 32 bit ints, and the last one uses too much RAM for a typical avr device. Regtested with avr and x86_64-pc-linux, and committed to trunk. Regards Senthil gcc/testsuite/ChangeLog 2016-09-01 Senthil Kumar Selvaraj * gcc.dg/pr64252.c: Require int32plus. * gcc.dg/pr66299-1.c: Likewise. * gcc.dg/pr66299-2.c: Likewise. * gcc.dg/torture/20131115-1.c: Skip for avr. Index: gcc/testsuite/gcc.dg/pr64252.c =================================================================== --- gcc/testsuite/gcc.dg/pr64252.c (revision 239920) +++ gcc/testsuite/gcc.dg/pr64252.c (working copy) @@ -1,6 +1,7 @@ /* PR target/64252 */ /* { dg-do run } */ /* { dg-options "-O2" } */ +/* { dg-require-effective-target int32plus } */ typedef unsigned int V __attribute__((vector_size (32))); Index: gcc/testsuite/gcc.dg/pr66299-1.c =================================================================== --- gcc/testsuite/gcc.dg/pr66299-1.c (revision 239920) +++ gcc/testsuite/gcc.dg/pr66299-1.c (working copy) @@ -1,6 +1,7 @@ /* PR tree-optimization/66299 */ /* { dg-do run } */ /* { dg-options "-fdump-tree-original" } */ +/* { dg-require-effective-target int32plus } */ void test1 (int x) Index: gcc/testsuite/gcc.dg/pr66299-2.c =================================================================== --- gcc/testsuite/gcc.dg/pr66299-2.c (revision 239920) +++ gcc/testsuite/gcc.dg/pr66299-2.c (working copy) @@ -1,6 +1,7 @@ /* PR tree-optimization/66299 */ /* { dg-do run } */ /* { dg-options "-fdump-tree-optimized -O" } */ +/* { dg-require-effective-target int32plus } */ void test1 (int x, unsigned u) Index: gcc/testsuite/gcc.dg/torture/20131115-1.c =================================================================== --- gcc/testsuite/gcc.dg/torture/20131115-1.c (revision 239920) +++ gcc/testsuite/gcc.dg/torture/20131115-1.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-skip-if "RAM usage too large" { "avr-*-*" } } */ struct S { int i; }; __attribute__((const, noinline, noclone))