From patchwork Wed Jun 12 14:50:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 250806 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 CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C0B9F2C0085 for ; Thu, 13 Jun 2013 00:50:51 +1000 (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; q= dns; s=default; b=WDxj4NytweYDxm15BiA62HSrKECTtgPJHnHX3oLz0lc4Fm mXk9NYshLAV2R1CFu/j6wAZdrb145kDlfWWigDSkgandGWRCpVjfh2S6Ck1LDsVu 3tb4s9c9Iq6aVq+ciXMY+Pr9i6tDT/UkKmAYnVu6ACSld/XZnQpZ4RJ3WS720= 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; s= default; bh=Z+/HR8QJVzUrdqBd87kzKCVgETQ=; b=rvCvedK/iO3fT7REAOz0 RtyWcqo2Sv7RvOib9EDMtl7svSQnAAK3Gb5edSd8dl6iLljQFpM0qIRjG7msuSm0 HmBqtcbsdVWj7CMguQKYk/xtF558eGS1rO/DnufnyuKhf5s0l/0jiuuvqVT3UpYD s1KnnHIsY7eFe8EyVhnU/Cs= Received: (qmail 11439 invoked by alias); 12 Jun 2013 14:50:45 -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 11416 invoked by uid 89); 12 Jun 2013 14:50:41 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS, TW_CP autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 12 Jun 2013 14:50:39 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 12 Jun 2013 15:50:36 +0100 Received: from [10.1.209.152] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 12 Jun 2013 15:50:35 +0100 Message-ID: <51B88ABB.7090808@arm.com> Date: Wed, 12 Jun 2013 15:50:35 +0100 From: Ramana Radhakrishnan User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org ;" Subject: [Patch ARM] Fix some testsuite fallout with DATA_ABI_ALIGNMENT changes. X-MC-Unique: 113061215503603401 X-Virus-Found: No Hi, This fixes up some of the fallout in the testsuite for ARM with the DATA_ABI_ALIGNMENT changes recently. Applied to trunk. regards Ramana 2013-06-12 Ramana Radhakrishnan * gcc.target/arm/unaligned-memcpy-4.c (src, dst): Initialize to ensure alignment. * gcc.target/arm/unaligned-memcpy-3.c (src): Likewise. diff --git a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-3.c b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-3.c index 9e2d164..d0b09bd 100644 --- a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-3.c +++ b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-3.c @@ -4,7 +4,7 @@ #include -char src[16]; +char src[16] = {0}; void aligned_src (char *dest) { diff --git a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-4.c b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-4.c index 4708c51..830e22e 100644 --- a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-4.c +++ b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-4.c @@ -4,8 +4,8 @@ #include -char src[16]; -char dest[16]; +char src[16] = { 0 }; +char dest[16] = { 0 }; void aligned_both (void) {