From 51e67ea376b70fd41542c1540d809a32f10ed9ca Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 11 May 2016 21:16:58 +0200 Subject: [PATCH] sse-13.c: Add dg-add-options bind_pic_locally directive. * gcc.target/i386/sse-13.c: Add dg-add-options bind_pic_locally directive. * gcc.target/i386/pr66746.c: Ditto. From-SVN: r236140 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/mmx-2.c | 2 +- gcc/testsuite/gcc.target/i386/pr66746.c | 1 + gcc/testsuite/gcc.target/i386/sse-13.c | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 77b1856371c..9addbee9f09 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-05-11 Uros Bizjak + + * gcc.target/i386/sse-13.c: Add dg-add-options bind_pic_locally + directive. + * gcc.target/i386/pr66746.c: Ditto. + 2016-05-11 Michael Meissner * gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form diff --git a/gcc/testsuite/gcc.target/i386/mmx-2.c b/gcc/testsuite/gcc.target/i386/mmx-2.c index 2bb54883b9b..4d016c7e83d 100644 --- a/gcc/testsuite/gcc.target/i386/mmx-2.c +++ b/gcc/testsuite/gcc.target/i386/mmx-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O0 -Werror-implicit-function-declaration -mmmx" } */ - /* { dg-add-options bind_pic_locally } */ + /* Test that the intrinsics compile without optimization. All of them are defined as inline functions in mmintrin.h that reference the proper builtin functions. Defining away "extern" and "__inline" results in diff --git a/gcc/testsuite/gcc.target/i386/pr66746.c b/gcc/testsuite/gcc.target/i386/pr66746.c index 3ef77bf9473..d7f6699f132 100644 --- a/gcc/testsuite/gcc.target/i386/pr66746.c +++ b/gcc/testsuite/gcc.target/i386/pr66746.c @@ -1,5 +1,6 @@ /* { dg-do compile { target ia32 } } */ /* { dg-options "-O2 -miamcu" } */ +/* { dg-add-options bind_pic_locally } */ /* Defining away "extern" and "__inline" results in all of them being compiled as proper functions. */ diff --git a/gcc/testsuite/gcc.target/i386/sse-13.c b/gcc/testsuite/gcc.target/i386/sse-13.c index 1144e5d068b..5562fbc5d6e 100644 --- a/gcc/testsuite/gcc.target/i386/sse-13.c +++ b/gcc/testsuite/gcc.target/i386/sse-13.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Werror-implicit-function-declaration -march=k8 -msse4a -m3dnow -mavx -mavx2 -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma -mrtm -mrdseed -mprfchw -madx -mfxsr -mxsaveopt -mavx512f -mavx512er -mavx512cd -mavx512pf -msha -mprefetchwt1 -mxsavec -mxsaves -mclflushopt -mavx512vl -mavx512dq -mavx512bw -mavx512vbmi -mavx512ifma -mclwb -mpcommit -mmwaitx -mclzero -mpku" } */ +/* { dg-add-options bind_pic_locally } */ #include -- 2.30.2