From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26198 invoked by alias); 2 Aug 2010 20:22:36 -0000 Received: (qmail 26008 invoked by uid 22791); 2 Aug 2010 20:22:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_SV,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-yw0-f47.google.com (HELO mail-yw0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Aug 2010 20:22:29 +0000 Received: by mail-yw0-f47.google.com with SMTP id 9so1522213ywe.20 for ; Mon, 02 Aug 2010 13:22:28 -0700 (PDT) Received: by 10.100.111.7 with SMTP id j7mr6979593anc.30.1280780548621; Mon, 02 Aug 2010 13:22:28 -0700 (PDT) Received: from napoca (cpe-70-120-196-107.austin.res.rr.com [70.120.196.107]) by mx.google.com with ESMTPS id i30sm10330400anh.9.2010.08.02.13.22.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Aug 2010 13:22:27 -0700 (PDT) Received: by napoca (sSMTP sendmail emulation); Mon, 02 Aug 2010 15:22:24 -0500 From: Sebastian Pop To: gcc-patches@gcc.gnu.org Cc: Tobias Grosser , gcc-graphite Subject: [PATCH 20/65] Fix testcase: call abort. Date: Mon, 02 Aug 2010 20:23:00 -0000 Message-Id: <1280780438-17543-21-git-send-email-sebpop@gmail.com> In-Reply-To: <1280780438-17543-1-git-send-email-sebpop@gmail.com> References: <1280780438-17543-1-git-send-email-sebpop@gmail.com> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00101.txt.bz2 From: spop 2010-06-23 Sebastian Pop * gcc.dg/graphite/run-id-2.c: Call abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@161293 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.graphite | 4 ++++ gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/graphite/run-id-2.c | 12 ++++++++++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 47cf924..abeda2a 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,5 +1,9 @@ 2010-06-23 Sebastian Pop + * gcc.dg/graphite/run-id-2.c: Call abort. + +2010-06-23 Sebastian Pop + * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out of SSA copies on edges except for loop->latch. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d4d8d90..90c2798 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2010-08-02 Sebastian Pop + * gcc.dg/graphite/run-id-2.c: Call abort. + +2010-08-02 Sebastian Pop + * gcc.dg/graphite/id-20.c: New. 2010-08-02 Bernd Schmidt diff --git a/gcc/testsuite/gcc.dg/graphite/run-id-2.c b/gcc/testsuite/gcc.dg/graphite/run-id-2.c index 0fd5efd..4a23616 100644 --- a/gcc/testsuite/gcc.dg/graphite/run-id-2.c +++ b/gcc/testsuite/gcc.dg/graphite/run-id-2.c @@ -19,9 +19,17 @@ static int __attribute__((noinline)) bar(int n) return c; } +extern void abort (); + int main() { - return - foo(0) != 0 || foo(1) != 1 || bar(0) != 0 || bar(1) != 2 || bar(2) != 5; + if (foo(0) != 0 + || foo(1) != 1 + || bar(0) != 0 + || bar(1) != 2 + || bar(2) != 5) + abort (); + + return 0; } -- 1.7.0.4