Hello!
A couple of testcases are missing dg-add-options bind_pic_locally
directive. This is needed to avoid compilation failure with
__always_inline__ attribute when "extern" and "__inline" are defined
away.
2016-05-11 Uros Bizjak <[email protected]>
* gcc.target/i386/sse-13.c: Add dg-add-options bind_pic_locally
directive.
* gcc.target/i386/pr66746.c: Ditto.
Tested on x86_64-linux-gnu and committed to mainline SVN.
Uros.
diff --git a/gcc/testsuite/gcc.target/i386/pr66746.c
b/gcc/testsuite/gcc.target/i386/pr66746.c
index 3ef77bf..d7f6699 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 1144e5d..5562fbc 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 <mm_malloc.h>