This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix objc.dg/stabs-1.m test on hppa2.0w-hp-hpux11.11


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]