explicit-hle.cc: Tightten scan-assembler-times regexps...
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Jan 2013 17:15:47 +0000 (18:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Jan 2013 17:15:47 +0000 (18:15 +0100)
* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
Tightten scan-assembler-times regexps, add dg-additional-options for
ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
dg-options.

From-SVN: r195383

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc

index 49bf46e087790672ffe74c2cc795e74045c00314..d60eb9b0a8f0ced1372e91ab007cff9831bd6834 100644 (file)
@@ -1,3 +1,10 @@
+2013-01-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
+       Tightten scan-assembler-times regexps, add dg-additional-options for
+       ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
+       dg-options.
+
 2013-01-12  Andi Kleen  <ak@linux.intel.com>
            Jonathan Wakely  <jwakely.gcc@gmail.com>
 
index 916a5e2d7772aea98035129f19b7e0a41c5a6f3f..a24336dee4c20a11afd44d49c9ae3a7b710f0f85 100644 (file)
@@ -1,9 +1,10 @@
-// { dg-options "-std=gnu++0x" }
 // { dg-do compile { target i?86-*-* x86_64-*-* } }
-// { dg-final { scan-assembler-times "\(xacquire\|\.byte.*0xf2\)" 14 } }
-// { dg-final { scan-assembler-times "\(xrelease\|\.byte.*0xf3\)" 14 } }
+// { dg-options "-std=gnu++0x -g0 -fno-exceptions -fno-asynchronous-unwind-tables" }
+// { dg-options "-std=gnu++0x -g0 -fno-exceptions -fno-asynchronous-unwind-tables -march=i486" { target ia32 } }
+// { dg-final { scan-assembler-times "xacquire\|\.byte\[^\n\r]*0xf2" 14 } }
+// { dg-final { scan-assembler-times "xrelease\|\.byte\[^\n\r]*0xf3" 14 } }
 
-// Copyright (C) 2008, 2009, 2013 Free Software Foundation, Inc.
+// Copyright (C) 2008-2013 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the