chkp-always_inline.c (f1): Make static to avoid errors with -fpic.
gcc/testsuite/ * gcc.target/i386/chkp-always_inline.c (f1): Make static to avoid errors with -fpic. From-SVN: r219997
This commit is contained in:
parent
6c4ffa6c4a
commit
e9ed6b1e27
|
@ -1,3 +1,8 @@
|
|||
2015-01-22 Ilya Enkovich <ilya.enkovich@intel.com>
|
||||
|
||||
* gcc.target/i386/chkp-always_inline.c (f1): Make static
|
||||
to avoid errors with -fpic.
|
||||
|
||||
2015-01-22 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR libstdc++/64535
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue