From patchwork Tue Nov 6 14:54:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Less restrictive regex in const-uniq-1.c From: David Edelsohn X-Patchwork-Id: 197491 Message-Id: To: GCC Patches Date: Tue, 6 Nov 2012 09:54:38 -0500 The regex in const-uniq-1.c assumes ELF label format, which does not match AIX XCOFF. The following patch broadens the regex so that it also correctly matches on AIX. * const-uniq-1.c: Expand regex to match AIX XCOFF labels. Index: const-uniq-1.c =================================================================== --- const-uniq-1.c (revision 193203) +++ const-uniq-1.c (working copy) @@ -20,5 +20,5 @@ return a[i+1]; } -/* { dg-final { scan-tree-dump-times "L\\\$?C0" 2 "gimple" } } */ +/* { dg-final { scan-tree-dump-times "L\\\$?C\\\.*0" 2 "gimple" } } */ /* { dg-final { cleanup-tree-dump "gimple" } } */