diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-22 17:15:47 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-22 17:15:47 +0000 |
commit | 811f1ea430357ecab44202d4526f9f0e305b4ad7 (patch) | |
tree | 262a662bd0c673523e7b228f6617130901af2449 /libstdc++-v3 | |
parent | b2d978a64e2d270c73f64a7116669511b9c7f162 (diff) | |
download | gcc-811f1ea430357ecab44202d4526f9f0e305b4ad7.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195383 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 49bf46e0877..d60eb9b0a8f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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> diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc index 916a5e2d777..a24336dee4c 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc @@ -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 |