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: Thu, 10 Mar 2005 08:33:58 -0800
- Subject: Re: [patch] Fix objc.dg/stabs-1.m test on hppa2.0w-hp-hpux11.11
- References: <200503101409.j2AE9jmb017479@hiauly1.hia.nrc.ca>
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
>> >> /* { 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]*} } } */
>> >
>> > It doesn't work. There are problems with a $ at the end of a ERE,
>> > and ? after $. The most serious issue seems to be that \ turns into
>> > \\ in the final regexp. Thus, for '\n', we end up with '\\n'.
>>
>> What version of Tcl are you using?
>
> This was with 8.3.
Ok, that's just weird. The syntax above should work correctly with
8.1 and later. I don't feel like debugging this right now, and it's
only a legibility issue. Go ahead with your original patch.
zw