This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix objc.dg/stabs-1.m test on hppa2.0w-hp-hpux11.11
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Mar 2005 20:53:12 -0800
- Subject: Re: [patch] Fix objc.dg/stabs-1.m test on hppa2.0w-hp-hpux11.11
- References: <200503062108.j26L8SU9002864@hiauly1.hia.nrc.ca>
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
>> Could you show what gets generated on HPUX? This would make it easier
>> to understand the goal of the regexp.
>
> This is the last four lines:
>
> .SUBSPA $CODE$
> .stabs "",100,0,0,L$etext0000
> L$etext0000:
> .IMPORT __objc_exec_class,CODE
Thanks. Could you please try the following, which is not nearly as
unreadable?
/* { dg-final { scan-assembler {(\.SUBSPA[ \t]*$CODE$|\.text\"?)\n\t\.stabs[ \t]*100,0,0,\.?L?L$?etext[0-9]*\.?L?L$?etext[0-9]*} } } */
yes, squiggle braces, not double quotes.
zw