diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2012-02-12 15:20:46 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2012-02-12 15:20:46 +0000 |
commit | 3e4c98438ac27de89320fd253c3ea3d484b6a413 (patch) | |
tree | d72a80b019fd658cc3362ade609c54ec80c40663 /gcc/testsuite/c-c++-common/cxxbitfields-3.c | |
parent | 58b29fa3426e8b7ad37e5849b14c4152f0c2abb1 (diff) | |
download | gcc-3e4c98438ac27de89320fd253c3ea3d484b6a413.zip gcc-3e4c98438ac27de89320fd253c3ea3d484b6a413.tar.gz gcc-3e4c98438ac27de89320fd253c3ea3d484b6a413.tar.bz2 |
re PR testsuite/50076 (FAIL: c-c++-common/cxxbitfields-3.c scan-assembler movl.*, var on x86_64-apple-darwin10)
gcc/testsuite:
PR testsuite/50076
* c-c++-common/cxxbitfields-3.c: Adjust scan assembler for nonpic
cases.
From-SVN: r184140
Diffstat (limited to 'gcc/testsuite/c-c++-common/cxxbitfields-3.c')
-rw-r--r-- | gcc/testsuite/c-c++-common/cxxbitfields-3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/c-c++-common/cxxbitfields-3.c b/gcc/testsuite/c-c++-common/cxxbitfields-3.c index 6fc4876..fc423ea 100644 --- a/gcc/testsuite/c-c++-common/cxxbitfields-3.c +++ b/gcc/testsuite/c-c++-common/cxxbitfields-3.c @@ -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 } } } } */ |