From patchwork Mon Jun 20 09:13:06 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: 637879 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 3rY4tC6Dhcz9sBf for ; Mon, 20 Jun 2016 19:14:11 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=dQvlqT0R; 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=d+UzMvnN5SO0A4NvZ3ZXnKPzuAFLe9eKPXdeZBN3gMMc3FpzNdrGv SwlDKXXXBP08JlXc/6nOZZVwKVNF5V2PjwdPyyqkRQ7/QtONuENoWIPzE3zeSP8U nmL7wIhETOCmXQ4R5OIJmnNuvLIAE+ITXHISu1xqn7dWpLA0LqvXXo= 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=q4V3tZiGkBwHsc+hmSbU7aLs/2o=; b=dQvlqT0RPsj1+LUcJlqt u8+bo7JaNhD9FKyI7LVQS5e+XUKCClw32u7cSeQknz9sg8kH43ZN4UxNATlWgWfJ sR7b3v7MkFjfrkYLkl4hLVoDCpv/AfCd+lTjkKV3xDTMVx+l3yTRv6wKUHxAyJFm Wb6f0Jwu7zI9Qltsk9tjWis= Received: (qmail 20117 invoked by alias); 20 Jun 2016 09:14:03 -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 20105 invoked by uid 89); 20 Jun 2016 09:14:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=HX-detected-operating-system:Windows X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 20 Jun 2016 09:13:48 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47687) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bEvH7-0007SY-NZ for gcc-patches@gnu.org; Mon, 20 Jun 2016 05:13:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEvH0-0004Lt-GZ for gcc-patches@gnu.org; Mon, 20 Jun 2016 05:13:42 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:33003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEvH0-0004K6-6G for gcc-patches@gnu.org; Mon, 20 Jun 2016 05:13:38 -0400 Received: from HNOCHT02.corp.atmel.com (10.161.30.162) by eusmtp01.atmel.com (10.161.101.30) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 20 Jun 2016 11:13:30 +0200 Received: from jaguar.atmel.com (10.161.30.18) by HNOCHT02.corp.atmel.com (10.161.30.162) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 20 Jun 2016 11:13:29 +0200 User-agent: mu4e 0.9.17; emacs 24.5.1 From: Senthil Kumar Selvaraj To: Mike Stump , gcc-patches Subject: [Patch, testsuite] Mark some more tests as UNSUPPORTED for avr Date: Mon, 20 Jun 2016 14:43:06 +0530 Message-ID: <87d1nc440t.fsf@atmel.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 212.144.249.242 X-IsSubscribed: yes Hi, This patch fixes some bogus failures for the avr target by requiring int32plus or ptr32plus support. Ok for trunk? Regards Senthil gcc/testsuite/ChangeLog: 2016-06-20 Senthil Kumar Selvaraj * c-c++-common/pr68657-1.c: Require ptr32plus support. * c-c++-common/pr68657-2.c: Likewise. * c-c++-common/pr68657-3.c: Likewise. * gcc.dg/torture/pr69714.c: Require int32plus support. * gcc.dg/torture/pr70025.c: Likewise. * gcc.dg/torture/pr70083.c: Likewise. * gcc.dg/torture/pr70542.c: Likewise. * gcc.dg/torture/pr70935.c: Require ptr32plus support. diff --git gcc/testsuite/c-c++-common/pr68657-1.c gcc/testsuite/c-c++-common/pr68657-1.c index 3db6f49..84f3e54 100644 --- gcc/testsuite/c-c++-common/pr68657-1.c +++ gcc/testsuite/c-c++-common/pr68657-1.c @@ -1,5 +1,6 @@ /* PR c/68657 */ /* { dg-options "-Werror=sign-conversion -Werror=float-conversion -Werror=frame-larger-than=65536" } */ +/* { dg-require-effective-target ptr32plus } */ void f1 (void) diff --git gcc/testsuite/c-c++-common/pr68657-2.c gcc/testsuite/c-c++-common/pr68657-2.c index 9eb68ce..1391088 100644 --- gcc/testsuite/c-c++-common/pr68657-2.c +++ gcc/testsuite/c-c++-common/pr68657-2.c @@ -1,6 +1,7 @@ /* PR c/68657 */ /* { dg-do compile } */ /* { dg-options "-Werror=larger-than=65536" } */ +/* { dg-require-effective-target ptr32plus } */ int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */ int b[1024]; /* { dg-bogus "size of 'b' is \[1-9]\[0-9]* bytes" } */ diff --git gcc/testsuite/c-c++-common/pr68657-3.c gcc/testsuite/c-c++-common/pr68657-3.c index 84622fc..1e80c5b 100644 --- gcc/testsuite/c-c++-common/pr68657-3.c +++ gcc/testsuite/c-c++-common/pr68657-3.c @@ -1,5 +1,6 @@ /* PR c/68657 */ /* { dg-do compile } */ +/* { dg-require-effective-target ptr32plus } */ #pragma GCC diagnostic error "-Wlarger-than=65536" int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */ diff --git gcc/testsuite/gcc.dg/torture/pr69714.c gcc/testsuite/gcc.dg/torture/pr69714.c index 229b7ad..85de8be 100644 --- gcc/testsuite/gcc.dg/torture/pr69714.c +++ gcc/testsuite/gcc.dg/torture/pr69714.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fno-strict-aliasing" } */ +/* { dg-require-effective-target int32plus } */ #include #include diff --git gcc/testsuite/gcc.dg/torture/pr70025.c gcc/testsuite/gcc.dg/torture/pr70025.c index dafae0b..6c43a0a 100644 --- gcc/testsuite/gcc.dg/torture/pr70025.c +++ gcc/testsuite/gcc.dg/torture/pr70025.c @@ -1,6 +1,7 @@ /* PR middle-end/70025 */ /* { dg-do run } */ /* { dg-additional-options "-mtune=z10" { target s390*-*-* } } */ +/* { dg-require-effective-target int32plus } */ typedef char (*F) (unsigned long, void *); typedef union { struct A { char a1, a2, a3, a4; unsigned long a5; F a6; void *a7; } b; char c[1]; } B; diff --git gcc/testsuite/gcc.dg/torture/pr70083.c gcc/testsuite/gcc.dg/torture/pr70083.c index 0cf2892..f33cb74 100644 --- gcc/testsuite/gcc.dg/torture/pr70083.c +++ gcc/testsuite/gcc.dg/torture/pr70083.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Wno-psabi" } */ +/* { dg-require-effective-target int32plus } */ typedef short v16hi __attribute__ ((vector_size (32))); typedef int v8si __attribute__ ((vector_size (32))); diff --git gcc/testsuite/gcc.dg/torture/pr70542.c gcc/testsuite/gcc.dg/torture/pr70542.c index ed7ab9d..39c7f81 100644 --- gcc/testsuite/gcc.dg/torture/pr70542.c +++ gcc/testsuite/gcc.dg/torture/pr70542.c @@ -1,5 +1,6 @@ /* PR rtl-optimization/70542 */ /* { dg-do run } */ +/* { dg-require-effective-target int32plus } */ int a[113], d[113]; short b[113], c[113], e[113]; diff --git gcc/testsuite/gcc.dg/torture/pr70935.c gcc/testsuite/gcc.dg/torture/pr70935.c index eb7f034..f1dd9e4 100644 --- gcc/testsuite/gcc.dg/torture/pr70935.c +++ gcc/testsuite/gcc.dg/torture/pr70935.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -g" } */ +/* { dg-require-effective-target ptr32plus } */ int d0, sj, v0, rp, zi;