From patchwork Wed Jan 4 16:51:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Marlier X-Patchwork-Id: 134296 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 8F2211007D7 for ; Thu, 5 Jan 2012 03:51:58 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1326300718; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC: Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=h74F77GTK3dSth6LL2E+dG3SQ6E=; b=MYfg1umTKIZ3zyR gGPPhFEjpUaCPCYs4Ne9UmlfXNa4wjtwYvnKs6YHO13rSx4g689brUMTT77vlq3D 3JGngV8vWqfzR5UeTPr/Av5MmtdeN4ghsenUpPvbgVxCMOPflI9OL2aOLDQXO2z6 EMupN4RAhWiC/jLs7Vx07MgM74gs= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=TFdlfJGVuob2u2P5euUJ/1mB2O8r30P2h3XhdDu5U/dKdIzGtdm5CQDzr/57Va Y5Jes52hhdYyn/wwIbZahRo593ItvZY818BEkJBz8Q2BWgwQe9Urar1iNWrQal6G WA1u9veq+daf8GyT3rZGLuuiKnMX8e+Yi8sbXyNf2mBN4=; Received: (qmail 1627 invoked by alias); 4 Jan 2012 16:51:51 -0000 Received: (qmail 1607 invoked by uid 22791); 4 Jan 2012 16:51:48 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f54.google.com (HELO mail-qw0-f54.google.com) (209.85.216.54) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jan 2012 16:51:35 +0000 Received: by qabg14 with SMTP id g14so12356723qab.20 for ; Wed, 04 Jan 2012 08:51:34 -0800 (PST) Received: by 10.224.196.66 with SMTP id ef2mr67232322qab.94.1325695894515; Wed, 04 Jan 2012 08:51:34 -0800 (PST) Received: from d01.cs.rochester.edu (d01.cs.rochester.edu. [128.151.67.209]) by mx.google.com with ESMTPS id o8sm93944234qaj.0.2012.01.04.08.51.33 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 08:51:34 -0800 (PST) Message-ID: <4F048395.4060103@gmail.com> Date: Wed, 04 Jan 2012 11:51:33 -0500 From: Patrick Marlier User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Richard Henderson CC: GCC Patches , Aldy Hernandez , Torvald Riegel Subject: [trans-mem] remove xfail for tm alias testcases 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 (From a old email in sent after the merge) The output for "ealias" was changed in revision 158374. * tree-ssa-structalias.c (dump_solution_for_var): Always dump the solution. Example before: pp = same as mystruct after: pp = { ESCAPED NONLOCAL } same as mystruct So the patch adjusts the output to be checked in the testcases and remove the xfail. Tested on i686. Ok to commit? (don't have an account yet, thanks in advance for committer) Patrick Marlier. 2012-01-04 Patrick Marlier * gcc.dg/tm/alias-1.c: Adjust regexp. * gcc.dg/tm/alias-2.c: Adjust regexp. Index: gcc.dg/tm/alias-1.c =================================================================== --- gcc.dg/tm/alias-1.c (revision 182878) +++ gcc.dg/tm/alias-1.c (working copy) @@ -34,7 +34,7 @@ void f(void) } /* { dg-final { scan-tree-dump-times "mystruct = \{ .*ESCAPED" 1 "ealias" } } */ -/* { dg-final { scan-tree-dump-times "someptr = same as mystruct" 1 "ealias" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "ui\..* = same as mystruct" 1 "ealias" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "pp\..* = same as mystruct" 1 "ealias" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "someptr = .*same as mystruct" 1 "ealias" } } */ +/* { dg-final { scan-tree-dump-times "ui\..* = .*same as mystruct" 1 "ealias" } } */ +/* { dg-final { scan-tree-dump-times "pp\..* = .*same as mystruct" 1 "ealias" } } */ /* { dg-final { cleanup-tree-dump "ealias" } } */ Index: gcc.dg/tm/alias-2.c =================================================================== --- gcc.dg/tm/alias-2.c (revision 182878) +++ gcc.dg/tm/alias-2.c (working copy) @@ -36,7 +36,7 @@ void foo() candy(); } -/* { dg-final { scan-tree-dump-times "ui\..* = same as mystruct" 1 "ealias" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "ui\..* = .*same as mystruct" 1 "ealias" } } */ /* { dg-final { scan-tree-dump-times "mystruct.*ESCAPED" 1 "ealias" } } */ -/* { dg-final { scan-tree-dump-times "pp = same as mystruct" 1 "ealias" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "pp = .*same as mystruct" 1 "ealias" } } */ /* { dg-final { cleanup-tree-dump "ealias" } } */