Hi, chkp-always_inline.c test fails with -fpic (https://gcc.gnu.org/ml/gcc-regression/2015-01/msg00528.html) because of non static function with 'always_inline' attribute. This patch fixes it. Committed as obvious.
Thanks, Ilya -- 2015-01-20 Ilya Enkovich <ilya.enkov...@intel.com> * gcc.target/i386/chkp-always_inline.c (f1): Make static to avoid errors with -fpic. diff --git a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c index 16d2358..26e80fe 100644 --- a/gcc/testsuite/gcc.target/i386/chkp-always_inline.c +++ b/gcc/testsuite/gcc.target/i386/chkp-always_inline.c @@ -2,7 +2,7 @@ /* { dg-require-effective-target mpx } */ /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wno-attributes" } */ -__attribute__((always_inline)) int f1 (int *p) +static __attribute__((always_inline)) int f1 (int *p) { return *p; }