This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR testsuite/28950 revised
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Sep 2006 14:30:05 -0700
- Subject: Re: [patch] Fix PR testsuite/28950 revised
- References: <20060911010114.3F25511000B@bromo.msbb.uc.edu> <jeodtmn66j.fsf@sykes.suse.de>
On Mon, Sep 11, 2006 at 10:44:36AM +0200, Andreas Schwab wrote:
> howarth@bromo.msbb.uc.edu (Jack Howarth) writes:
>
> > Nix my previous message. This change to the regex did
> > not work. Does anyone know of an alternative form
> > that degagnu will accept other than {,r}.
>
> What's wrong with `r?'?
That works for powerpc64-linux and certainly should work for darwin.
The change would be:
-/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,0,30" } } */
-/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,29,30" } } */
+/* { dg-final { scan-assembler "rlwinm r?\[0-9\]+,{,r}\[0-9\]+,0,0,30" } } */
+/* { dg-final { scan-assembler "rlwinm r?\[0-9\]+,{,r}\[0-9\]+,0,29,30" } } */