Message ID | 17DD310E-00A7-4CDD-800F-619B90CC1F7B@sandoe-acoustics.co.uk |
---|---|
State | New |
Headers | show |
On Mon, Dec 12, 2011 at 04:18:29PM +0000, Iain Sandoe wrote: > thus is everyone reasonably happy with? > > Index: gcc/testsuite/c-c++-common/cxxbitfields-3.c > =================================================================== > --- gcc/testsuite/c-c++-common/cxxbitfields-3.c (revision 182219) > +++ gcc/testsuite/c-c++-common/cxxbitfields-3.c (working copy) > @@ -18,4 +18,5 @@ void setit() > var.j = 5; > } > > -/* { dg-final { scan-assembler "movl.*, var" } } */ > +/* { dg-final { scan-assembler "movl.*, _?var" { target nonpic } } } */ > +/* { dg-final { scan-assembler "movl.*, (_?var|\\(%)" { target { ! nonpic } } } } */ > Yes, this is ok for the trunk with proper ChangeLog entry. Jakub
Index: gcc/testsuite/c-c++-common/cxxbitfields-3.c =================================================================== --- gcc/testsuite/c-c++-common/cxxbitfields-3.c (revision 182219) +++ gcc/testsuite/c-c++-common/cxxbitfields-3.c (working copy) @@ -18,4 +18,5 @@ void setit() var.j = 5; } -/* { dg-final { scan-assembler "movl.*, var" } } */ +/* { dg-final { scan-assembler "movl.*, _?var" { target nonpic } } } */ +/* { dg-final { scan-assembler "movl.*, (_?var|\\(%)" { target { !