[patch] Fix objc.dg/stabs-1.m test on hppa2.0w-hp-hpux11.11
Zack Weinberg
zack@codesourcery.com
Thu Mar 10 05:41:00 GMT 2005
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
>> 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]*} } } */
>
> 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?
zw
More information about the Gcc-patches
mailing list