From patchwork Mon Nov 17 21:59:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 411825 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id EB1D61400B7 for ; Tue, 18 Nov 2014 08:59:57 +1100 (AEDT) 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=kzp3TVpj9iTJKzUjec+2oQbwYIUQthYuhlZ5mO739mWUL5 dCStTYphbrfX/I/FjHbhecYIvgp3lIJ3lxSf+XFohfn7wLXlBLbvvi2UskTieq9B oaEPaOvX5ORQlfFDPJ8YcAPNkb0yjsQ9j7rKgZdz5GZa193z5z3J4v4+c9hNk= 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=XP2t5CnBtLDXzFaGX20jy3VsA8U=; b=jq9t2Vyjrh0rtWEUJOwm 5q0QTnktKzU1IBmcxqQprSCadeBEqmrIi4iuZDh/HxY19AumwACzwG4PAzWSwD8J L32XJQ+JkK0oSE4ReJUkhdh2RfwyhvM9wn8hirM65ESOGoTWVSOqV/lfHlIfmVCk m23hbKuyK0ctrJAZe/DAbEo= Received: (qmail 17043 invoked by alias); 17 Nov 2014 21:59:51 -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 17034 invoked by uid 89); 17 Nov 2014 21:59:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Nov 2014 21:59:49 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1XqUKn-0000v0-VA from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Mon, 17 Nov 2014 13:59:46 -0800 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.181.6; Mon, 17 Nov 2014 21:59:44 +0000 Message-ID: <546A6FCF.7010201@mentor.com> Date: Mon, 17 Nov 2014 22:59:43 +0100 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH, committed] Fix scan patterns for pr43864-{2,3,4].c Hi, this patch fixes the scan patterns for test-cases pr43864-{2,3,4].c. The patterns matched over several lines, this is fixed in the patch by using (?n). Committed as obvious. Thanks, - Tom 2014-11-17 Tom de Vries * gcc.dg/pr43864-2.c: Fix scan-tree-dump-times scan pattern. * gcc.dg/pr43864-3.c: Same. * gcc.dg/pr43864-4.c: Same. --- gcc/testsuite/gcc.dg/pr43864-2.c | 2 +- gcc/testsuite/gcc.dg/pr43864-3.c | 2 +- gcc/testsuite/gcc.dg/pr43864-4.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr43864-2.c b/gcc/testsuite/gcc.dg/pr43864-2.c index 8ab1e1a..c576dbd 100644 --- a/gcc/testsuite/gcc.dg/pr43864-2.c +++ b/gcc/testsuite/gcc.dg/pr43864-2.c @@ -18,6 +18,6 @@ f (int c, int b, int d) } /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */ -/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */ +/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */ /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ /* { dg-final { cleanup-tree-dump "pre" } } */ diff --git a/gcc/testsuite/gcc.dg/pr43864-3.c b/gcc/testsuite/gcc.dg/pr43864-3.c index 8b72ecf..7956450 100644 --- a/gcc/testsuite/gcc.dg/pr43864-3.c +++ b/gcc/testsuite/gcc.dg/pr43864-3.c @@ -19,6 +19,6 @@ int f(int c, int b, int d) } /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */ -/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */ +/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */ /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ /* { dg-final { cleanup-tree-dump "pre" } } */ diff --git a/gcc/testsuite/gcc.dg/pr43864-4.c b/gcc/testsuite/gcc.dg/pr43864-4.c index 4dbc953..7353b3d 100644 --- a/gcc/testsuite/gcc.dg/pr43864-4.c +++ b/gcc/testsuite/gcc.dg/pr43864-4.c @@ -23,7 +23,7 @@ int f(int c, int b, int d) } /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */ -/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */ -/* { dg-final { scan-tree-dump-times " - " 2 "pre"} } */ +/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */ +/* { dg-final { scan-tree-dump-times "(?n)_.*-.*_" 2 "pre"} } */ /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ /* { dg-final { cleanup-tree-dump "pre" } } */ -- 1.9.1