From patchwork Wed Aug 3 11:53:25 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: 655367 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 3s4BM56rWdz9t1d for ; Wed, 3 Aug 2016 21:54:41 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=SLMwhWA2; 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=NNP8YEJnL6jsNCFvLNg4WZCJIaqY/Fi3pSwe7yCoBsssLZvybxkm/ I2WCKnKZv3cfBDChpf6qBnm2SY3Y4bsu/866Dex4LASyIwecJZC9rCY8/4kNruW9 +YJLhchnNTRGpgQaBiFqHSLXuTsanZCJ6LHCRughIMGJMJcXThDyWg= 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=cnq2Z7QcNZFnZtE1/crjaQpkFTI=; b=SLMwhWA2f1KGNkVIr+/0 rKMcyve5sik8CVU8aRiTacJjBW6f7zyWPFTs6GsXvzfu8KIrxw50ZJylz8xd7a8R HIYRBXr5AYGICLqlHDy+fxeyNXpV6TybqkqowWmor3bXPreoYWjd6JUFjzGllCtT Wlvw9jRVqIAMjqqMr/iLG94= Received: (qmail 17734 invoked by alias); 3 Aug 2016 11:54:17 -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 17636 invoked by uid 89); 3 Aug 2016 11:54:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_ASCII_DIVIDERS, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=2016-08-03, 20160803 X-HELO: eusmtp01.atmel.com Received: from eusmtp01.atmel.com (HELO eusmtp01.atmel.com) (212.144.249.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 03 Aug 2016 11:54:06 +0000 Received: from HNOCHT01.corp.atmel.com (10.145.133.40) by eusmtp01.atmel.com (10.145.145.31) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 3 Aug 2016 13:54:01 +0200 Received: from jaguar.atmel.com (10.145.133.18) by HNOCHT01.corp.atmel.com (10.145.133.40) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 3 Aug 2016 13:54:01 +0200 User-agent: mu4e 0.9.17; emacs 24.5.1 From: Senthil Kumar Selvaraj To: Subject: [Patch, testsuite] Fix some more bogus failures for avr Date: Wed, 3 Aug 2016 17:23:25 +0530 Message-ID: <87wpjygjbe.fsf@atmel.com> MIME-Version: 1.0 X-IsSubscribed: yes Hi, Committed below patch to trunk as obvious. Regards Senthil 2016-08-03 Senthil Kumar Selvaraj * gcc.dg/init-excess-2.c: Require int32plus. * gcc.dg/pr44024.c: Skip if target keeps null pointer checks. * gcc.dg/pr59963-2.c: Require int32plus. * gcc.dg/pr71084.c: Cast pointer to intprt_t. * gcc.dg/unroll-7.c: Require int32plus. Index: gcc.dg/init-excess-2.c =================================================================== --- gcc.dg/init-excess-2.c (revision 239064) +++ gcc.dg/init-excess-2.c (working copy) @@ -3,6 +3,7 @@ c/71115 - Missing warning: excess elements in struct initializer. */ /* { dg-do compile } */ /* { dg-options "" } */ +/* { dg-require-effective-target int32plus } */ #include Index: gcc.dg/pr44024.c =================================================================== --- gcc.dg/pr44024.c (revision 239064) +++ gcc.dg/pr44024.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do link } */ /* { dg-options "-O1 -fdelete-null-pointer-checks -fdump-tree-ccp1" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ void foo(); void link_error (void); Index: gcc.dg/pr59963-2.c =================================================================== --- gcc.dg/pr59963-2.c (revision 239064) +++ gcc.dg/pr59963-2.c (working copy) @@ -1,6 +1,7 @@ /* PR c/59963 */ /* { dg-do compile } */ /* { dg-options "-Woverflow -Wconversion" } */ +/* { dg-require-effective-target int32plus } */ extern void bar (unsigned char); extern void bar8 (unsigned char, unsigned char, unsigned char, unsigned char, Index: gcc.dg/pr71084.c =================================================================== --- gcc.dg/pr71084.c (revision 239064) +++ gcc.dg/pr71084.c (working copy) @@ -2,6 +2,8 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ +__extension__ typedef __INTPTR_TYPE__ intptr_t; + void babl_format (void); void gimp_drawable_get_format (void); int _setjmp (void); @@ -32,7 +34,7 @@ gimp_drawable_get_format(); } for (; run_height;) - for (; run_i < (long)fn1; ++run_i) + for (; run_i < (long)(intptr_t)fn1; ++run_i) for (; width;) ; } Index: gcc.dg/unroll-7.c =================================================================== --- gcc.dg/unroll-7.c (revision 239064) +++ gcc.dg/unroll-7.c (working copy) @@ -1,5 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-rtl-loop2_unroll -funroll-loops" } */ +/* { dg-require-effective-target int32plus } */ + int t(int *a) { int i;