[AArch64][obvious] Fix some target attribute inlining tests for -fPIC

* gcc.target/aarch64/target_attr_5.c: Add static modifier to bar.
	* gcc.target/aarch64/target_attr_8.c: Likewise.
	* gcc.target/aarch64/target_attr_14.c: Likewise.

From-SVN: r226889
This commit is contained in:
Kyrylo Tkachov 2015-08-14 09:54:54 +00:00 committed by Kyrylo Tkachov
parent 9d14780002
commit 4436a80d12
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2015-08-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/aarch64/target_attr_5.c: Add static modifier to bar.
* gcc.target/aarch64/target_attr_8.c: Likewise.
* gcc.target/aarch64/target_attr_14.c: Likewise.
2015-08-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/aarch64/target_attr_1.c: Make test compile-only.

View file

@ -4,7 +4,7 @@
/* Inlining non-strict-align functions into strict-align
functions is allowed. */
int
static int
bar (int a)
{
return a - 6;

View file

@ -4,7 +4,7 @@
/* Make sure that bar is inlined into bam. */
__attribute__ ((target ("arch=armv8-a+nocrc")))
int
static int
bar (int a)
{
return a - 6;

View file

@ -5,7 +5,7 @@
Inlining should be allowed. */
__attribute__ ((target ("arch=armv8-a+nocrc")))
int
static int
bar (int a)
{
return a - 6;