This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix pr571518.c test case.
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Marcus Shawcroft <marcus dot shawcroft at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, wmi at google dot com
- Date: Tue, 15 Oct 2013 10:08:47 -0400
- Subject: Re: [PATCH] Fix pr571518.c test case.
- Authentication-results: sourceware.org; auth=none
- References: <51D5A004 dot 4070102 at arm dot com> <96C5DD31-D1B9-4449-B78F-6CDC3A71DB68 at comcast dot net>
On Fri, Jul 05, 2013 at 09:25:52AM -0700, Mike Stump wrote:
> On Jul 4, 2013, at 9:17 AM, Marcus Shawcroft <marcus.shawcroft@arm.com> wrote:
> > * gcc.dg/pr57518.c: Adjust scan-rtl-dump-not pattern.
>
> [ If you want a review or need an approval, be sure to ask Ok? Just in case you forgot... ] Ok.
>
> Thanks.
Looks like this fix should have been applied to the gcc-4_8-branch as well...
http://gcc.gnu.org/ml/gcc-testresults/2013-10/msg01077.html
Too late for gcc 4.8.2 I guess but after the branch reopens...
2013-07-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
* gcc.dg/pr57518.c: Adjust scan-rtl-dump-not pattern.
diff --git a/gcc/testsuite/gcc.dg/pr57518.c b/gcc/testsuite/gcc.dg/pr57518.c
index 4c84a85..47e819c 100644
--- a/gcc/testsuite/gcc.dg/pr57518.c
+++ b/gcc/testsuite/gcc.dg/pr57518.c
@@ -2,7 +2,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-ira" } */
-/* { dg-final { scan-rtl-dump-not "REG_EQUIV.*mem.*\"ip\"" "ira" } } */
+/* { dg-final { scan-rtl-dump-not "REG_EQUIV\[^\n\]*mem\[^\n\]*\"ip\"" "ira" } } */
char ip[10];
int total;
should be applied there for gcc 4.8.3.
Jack