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
This commit is contained in:
Iain Sandoe 2012-02-12 15:20:46 +00:00
parent 58b29fa342
commit 3e4c98438a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-02012 Iain Sandoe <iains@gcc.gnu.org>
PR testsuite/50076
* c-c++-common/cxxbitfields-3.c: Adjust scan assembler for nonpic
cases.
2012-02-11 Ian Lance Taylor <iant@google.com>
PR go/51874

View File

@ -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 } } } } */