From patchwork Wed Oct 23 21:47:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pat Haugen X-Patchwork-Id: 285736 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CAE922C00D0 for ; Thu, 24 Oct 2013 08:47:57 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=upotvz4fi0GPCcbA w5eDlkVJcbGrcWyJ8Sfrc3LUgHVJqoOFIQoD8KtzpkC6H5ZvO7mlGzueTKz030Yk 1q3ZrVlri72sglpsRwwD9UYjJUGd8sl1hxRlC0cBRn+vya8b/lRYowH7VT+nOarP wptcFF99AypRzhWNaOhbX9gIlHk= 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 :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=default; bh=yQBt/BARnWXDIG1IvIvA2v UgqUo=; b=YhlMuqdbNJhCYGsBNOKA28FlfLYYV7ZsV9BosYCovSvg9pAZlHH8vk G4X/IYudFg7sUctFqZWnmZ48SqkbHeMcHHzGQteVpKMd/VnM9Uhg4re2lX2s6tjw W0hhr1sNtxB8ri5C+Z0JUmkC/O/WWmWD+9B9skBLyVTaqesvI/3rk= Received: (qmail 16508 invoked by alias); 23 Oct 2013 21:47:52 -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 16499 invoked by uid 89); 23 Oct 2013 21:47:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e9.ny.us.ibm.com Received: from e9.ny.us.ibm.com (HELO e9.ny.us.ibm.com) (32.97.182.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 23 Oct 2013 21:47:50 +0000 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 23 Oct 2013 17:47:48 -0400 Received: from d01dlp03.pok.ibm.com (9.56.250.168) by e9.ny.us.ibm.com (192.168.1.109) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 23 Oct 2013 17:47:46 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 7ED1FC90041 for ; Wed, 23 Oct 2013 17:47:45 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp22034.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9NLlkou54657264 for ; Wed, 23 Oct 2013 21:47:46 GMT Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r9NLljt0017026 for ; Wed, 23 Oct 2013 17:47:45 -0400 Received: from pthw510.ibm.com (pthw510.ibm.com.rchland.ibm.com [9.10.86.166]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r9NLljSL016935 for ; Wed, 23 Oct 2013 17:47:45 -0400 Message-ID: <52684400.5000907@linux.vnet.ibm.com> Date: Wed, 23 Oct 2013 16:47:44 -0500 From: Pat Haugen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130912 Thunderbird/17.0.9 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH, testsuite committed] Fix powerpc direct-move.h X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13102321-7182-0000-0000-000008DD80E9 X-IsSubscribed: yes The following fixes the gcc.target/powerpc/direct-move-*2.c executable test failures. Committed as obvious. 2013-10-23 Pat Haugen * gcc.target/powerpc/direct-move.h: Fix header for executable tests. { @@ -123,8 +125,7 @@ test_value (TYPE a) int main (void) { - size_t i; - long j; + long i,j; union { TYPE value; unsigned char bytes[sizeof (TYPE)]; Index: gcc/testsuite/gcc.target/powerpc/direct-move.h =================================================================== --- gcc/testsuite/gcc.target/powerpc/direct-move.h (revision 203993) +++ gcc/testsuite/gcc.target/powerpc/direct-move.h (working copy) @@ -1,5 +1,7 @@ /* Test functions for direct move support. */ +#include +extern void abort (void); void __attribute__((__noinline__)) copy (TYPE *a, TYPE *b) @@ -107,7 +109,7 @@ const struct test_struct test_functions[ void __attribute__((__noinline__)) test_value (TYPE a) { - size_t i; + long i; for (i = 0; i < sizeof (test_functions) / sizeof (test_functions[0]); i++)