diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2016-01-19 18:10:31 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-01-19 18:10:31 +0100 |
commit | 7596d5de9363552b3953a4e13d6afeaf5096f108 (patch) | |
tree | fed3ab9843af8ca678b1491b13a2c7d4c52b0a5c /gcc/testsuite/gcc.c-torture/execute | |
parent | ceda2c69d52197199c97e8fe054abd7d17e5378f (diff) | |
download | gcc-7596d5de9363552b3953a4e13d6afeaf5096f108.zip gcc-7596d5de9363552b3953a4e13d6afeaf5096f108.tar.gz gcc-7596d5de9363552b3953a4e13d6afeaf5096f108.tar.bz2 |
re PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution, -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects)
PR testsuite/68820
* gcc.c-torture/execute/builtins/memops-asm.x: New file.
* gcc.c-torture/execute/builtins/strstr-asm.x: Ditto.
* gcc.c-torture/execute/builtins/strstr-asm.c: Remove dg-options.
From-SVN: r232573
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute')
3 files changed, 20 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x b/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x new file mode 100644 index 0000000..031049d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x @@ -0,0 +1,10 @@ +# Different translation units may have different user name overrides +# and we do not preserve enough context to known which one we want. + +set torture_eval_before_compile { + if {[string match {*-flto*} "$option"]} { + continue + } +} + +return 0 diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c index 4167841..3c3e45d 100644 --- a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c @@ -2,7 +2,6 @@ Ensure all expected transformations of builtin strstr occur and perform correctly in presence of redirect. */ -/* { dg-options "-ffat-lto-objects" } */ #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname) #define ASMNAME2(prefix, cname) STRING (prefix) cname diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x new file mode 100644 index 0000000..031049d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x @@ -0,0 +1,10 @@ +# Different translation units may have different user name overrides +# and we do not preserve enough context to known which one we want. + +set torture_eval_before_compile { + if {[string match {*-flto*} "$option"]} { + continue + } +} + +return 0 |