]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/50076 (FAIL: c-c++-common/cxxbitfields-3.c scan-assembler movl.*...
authorIain Sandoe <iains@gcc.gnu.org>
Sun, 12 Feb 2012 15:20:46 +0000 (15:20 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 12 Feb 2012 15:20:46 +0000 (15:20 +0000)
gcc/testsuite:

PR testsuite/50076
* c-c++-common/cxxbitfields-3.c: Adjust scan assembler for nonpic
cases.

From-SVN: r184140

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cxxbitfields-3.c

index 938abdaaa61ab78ed7838ec13c83d587c7197c3f..348bb677ead1eddb80a65f4b12b6d55cbc696cfd 100644 (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
index 6fc4876f0ea6c35a608e3fc1736bdb51967d8e64..fc423ea8b293dd0c11de1c38508af99e0e04af96 100644 (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 } } } } */