On Fri, Dec 09, 2011 at 08:17:04PM +0100, Dominique Dhumieres wrote: > > +/* { dg-final { scan-assembler "movl.*, (_?var|\\(%)" } } */ > > It works for me too.
Except that when matching just , (% it doesn't test almost anything. IMNSHO you should instead just test it { target !fpic } or similar. The _? in there is useful though. Jakub