Commit f3d6b759 by Dmitry Vyukov Committed by Dmitry Vyukov

Fix new sancov tests

	* gcc.dg/sancov/sancov.exp: Load asan-dg.exp.
	* gcc.dg/sancov/asan.c: Don't run when asan is not available.

From-SVN: r231364
parent fc0efeea
2015-12-06 Dmitry Vyukov <dvyukov@google.com>
* gcc.dg/sancov/sancov.exp: Load asan-dg.exp.
* gcc.dg/sancov/asan.c: Don't run when asan is not available.
2015-12-07 Nathan Sidwell <nathan@acm.org>
* gcc.target/nvptx/decl-init.c: New.
......
......@@ -3,7 +3,7 @@
- coverage does not instrument asan-emitted basic blocks
- asan considers coverage callback as "nonfreeing" (thus 1 asan store
callback. */
/* { dg-do compile } */
/* { dg-do compile { target fsanitize_address } } */
/* { dg-options "-fsanitize-coverage=trace-pc -fsanitize=address -fdump-tree-optimized" } */
void foo(volatile int *a, int *b)
......
......@@ -17,6 +17,7 @@
# <http://www.gnu.org/licenses/>.
load_lib gcc-dg.exp
load_lib asan-dg.exp
load_lib torture-options.exp
dg-init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment