Commit 4436a80d by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 9d147800
2015-08-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 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. * gcc.target/aarch64/target_attr_1.c: Make test compile-only.
2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com> 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* Inlining non-strict-align functions into strict-align /* Inlining non-strict-align functions into strict-align
functions is allowed. */ functions is allowed. */
int static int
bar (int a) bar (int a)
{ {
return a - 6; return a - 6;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* Make sure that bar is inlined into bam. */ /* Make sure that bar is inlined into bam. */
__attribute__ ((target ("arch=armv8-a+nocrc"))) __attribute__ ((target ("arch=armv8-a+nocrc")))
int static int
bar (int a) bar (int a)
{ {
return a - 6; return a - 6;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Inlining should be allowed. */ Inlining should be allowed. */
__attribute__ ((target ("arch=armv8-a+nocrc"))) __attribute__ ((target ("arch=armv8-a+nocrc")))
int static int
bar (int a) bar (int a)
{ {
return a - 6; return a - 6;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment