From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26891 invoked by alias); 24 Jul 2007 18:31:06 -0000 Received: (qmail 26881 invoked by uid 22791); 24 Jul 2007 18:31:05 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jul 2007 18:30:58 +0000 Received: from zps37.corp.google.com (zps37.corp.google.com [172.25.146.37]) by smtp-out.google.com with ESMTP id l6OIUumj018731 for ; Tue, 24 Jul 2007 11:30:56 -0700 Received: from dhcp-172-29-27-107.tor.corp.google.com (dhcp-172-29-27-107.tor.corp.google.com [172.29.27.107]) by zps37.corp.google.com with ESMTP id l6OIUir9032530 for ; Tue, 24 Jul 2007 11:30:45 -0700 Message-ID: <46A6454C.90503@google.com> Date: Tue, 24 Jul 2007 18:40:00 -0000 From: Diego Novillo User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [tuples] Fix expected dejagnu patterns in constructors.c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2007-07/txt/msg01757.txt.bz2 Chris was getting intermittent failures on this testcase because dejagnu was not matching the '[]' properly. Fixed by escaping the brace the required 1 million times. 2007-07-24 Diego Novillo * gcc.dg/gimple/constructors.c: Fix expected pattern. Index: gcc.dg/gimple/constructors.c =================================================================== --- gcc.dg/gimple/constructors.c (revision 126872) +++ gcc.dg/gimple/constructors.c (working copy) @@ -10,10 +10,10 @@ void foo() bar(a); } -/* { dg-final { scan-tree-dump-times "gimpleir: a.0. = 1" 1 "gimple"} } */ -/* { dg-final { scan-tree-dump-times "gimpleir: a.1. = 2" 1 "gimple"} } */ -/* { dg-final { scan-tree-dump-times "gimpleir: a.2. = 3" 1 "gimple"} } */ -/* { dg-final { scan-tree-dump-times "gimpleir: a.3. = 4" 1 "gimple"} } */ -/* { dg-final { scan-tree-dump-times "gimpleir: a.4. = 5" 1 "gimple"} } */ +/* { dg-final { scan-tree-dump-times "gimpleir: a\\\[0\\\] = 1" 1 "gimple"} } * +/* { dg-final { scan-tree-dump-times "gimpleir: a\\\[1\\\] = 2" 1 "gimple"} } * +/* { dg-final { scan-tree-dump-times "gimpleir: a\\\[2\\\] = 3" 1 "gimple"} } * +/* { dg-final { scan-tree-dump-times "gimpleir: a\\\[3\\\] = 4" 1 "gimple"} } * +/* { dg-final { scan-tree-dump-times "gimpleir: a\\\[4\\\] = 5" 1 "gimple"} } * /* { dg-final { scan-tree-dump-times "gimpleir: bar \\(&a\\)" 1 "gimple"} } */ /* { dg-final { cleanup-tree-dump "gimple" } } */