From: Kyrylo Tkachov Date: Fri, 14 Aug 2015 09:54:54 +0000 (+0000) Subject: [AArch64][obvious] Fix some target attribute inlining tests for -fPIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4436a80d12ba748d790b0c699641a065a5599a3d;p=gcc.git [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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 377c17c3042..c4dc432d951 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-08-14 Kyrylo Tkachov + + * 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 * gcc.target/aarch64/target_attr_1.c: Make test compile-only. diff --git a/gcc/testsuite/gcc.target/aarch64/target_attr_14.c b/gcc/testsuite/gcc.target/aarch64/target_attr_14.c index a4e481d2dc5..916b5a6f98d 100644 --- a/gcc/testsuite/gcc.target/aarch64/target_attr_14.c +++ b/gcc/testsuite/gcc.target/aarch64/target_attr_14.c @@ -4,7 +4,7 @@ /* Inlining non-strict-align functions into strict-align functions is allowed. */ -int +static int bar (int a) { return a - 6; diff --git a/gcc/testsuite/gcc.target/aarch64/target_attr_5.c b/gcc/testsuite/gcc.target/aarch64/target_attr_5.c index 4fc0709be81..9eac06eacd4 100644 --- a/gcc/testsuite/gcc.target/aarch64/target_attr_5.c +++ b/gcc/testsuite/gcc.target/aarch64/target_attr_5.c @@ -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; diff --git a/gcc/testsuite/gcc.target/aarch64/target_attr_8.c b/gcc/testsuite/gcc.target/aarch64/target_attr_8.c index 32d173cb25b..00ebd8c2507 100644 --- a/gcc/testsuite/gcc.target/aarch64/target_attr_8.c +++ b/gcc/testsuite/gcc.target/aarch64/target_attr_8.c @@ -5,7 +5,7 @@ Inlining should be allowed. */ __attribute__ ((target ("arch=armv8-a+nocrc"))) -int +static int bar (int a) { return a - 6;