From patchwork Wed Aug 11 16:15:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jie Zhang X-Patchwork-Id: 61486 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]) by ozlabs.org (Postfix) with SMTP id 99AE8B70AE for ; Thu, 12 Aug 2010 02:15:48 +1000 (EST) Received: (qmail 14528 invoked by alias); 11 Aug 2010 16:15:46 -0000 Received: (qmail 14506 invoked by uid 22791); 11 Aug 2010 16:15:44 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Aug 2010 16:15:38 +0000 Received: (qmail 15143 invoked from network); 11 Aug 2010 16:15:35 -0000 Received: from unknown (HELO ?192.168.1.100?) (jie@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Aug 2010 16:15:35 -0000 Message-ID: <4C62CCA4.5060004@codesourcery.com> Date: Thu, 12 Aug 2010 00:15:32 +0800 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: GCC Patches CC: sebastian.pop@amd.com Subject: [testsuite] Reduce memory usage of gcc.dg/graphite/interchange-9.c X-IsSubscribed: yes 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 According to Sebastian's suggestion: http://gcc.gnu.org/ml/gcc/2010-08/msg00188.html I wrote this patch to reduce the memory usage of gcc.dg/graphite/interchange-9.c. Tested on x86_64. OK? Regards, * gcc.dg/graphite/interchange-9.c (M): Define to be 111. (N): Likewise. (main): Adjust accordingly. Index: gcc.dg/graphite/interchange-9.c =================================================================== --- gcc.dg/graphite/interchange-9.c (revision 163100) +++ gcc.dg/graphite/interchange-9.c (working copy) @@ -5,8 +5,8 @@ #include #endif -#define N 1111 -#define M 1111 +#define N 111 +#define M 111 static int __attribute__((noinline)) foo (int *x) @@ -38,7 +38,7 @@ main (void) fprintf (stderr, "res = %d \n", res); #endif - if (res != 2468642) + if (res != 24642) abort (); return 0;