Commit e76c8e56 by Jakub Jelinek Committed by Jakub Jelinek

aarch64.c (aarch64_stack_protect_guard): Move outside of #if CHECKING_P code.

	* config/aarch64/aarch64.c (aarch64_stack_protect_guard): Move
	outside of #if CHECKING_P code.

From-SVN: r268095
parent e047844b
2019-01-19 Jakub Jelinek <jakub@redhat.com>
* config/aarch64/aarch64.c (aarch64_stack_protect_guard): Move
outside of #if CHECKING_P code.
2019-01-19 Richard Sandiford <richard.sandiford@arm.com> 2019-01-19 Richard Sandiford <richard.sandiford@arm.com>
* gimple-loop-versioning.cc (loop_versioning::dump_inner_likelihood): * gimple-loop-versioning.cc (loop_versioning::dump_inner_likelihood):
......
...@@ -18662,6 +18662,19 @@ aarch64_simd_clone_usable (struct cgraph_node *node) ...@@ -18662,6 +18662,19 @@ aarch64_simd_clone_usable (struct cgraph_node *node)
} }
} }
/* Implement TARGET_STACK_PROTECT_GUARD. In case of a
global variable based guard use the default else
return a null tree. */
static tree
aarch64_stack_protect_guard (void)
{
if (aarch64_stack_protector_guard == SSP_GLOBAL)
return default_stack_protect_guard ();
return NULL_TREE;
}
/* Target-specific selftests. */ /* Target-specific selftests. */
#if CHECKING_P #if CHECKING_P
...@@ -18706,19 +18719,6 @@ aarch64_run_selftests (void) ...@@ -18706,19 +18719,6 @@ aarch64_run_selftests (void)
} // namespace selftest } // namespace selftest
/* Implement TARGET_STACK_PROTECT_GUARD. In case of a
global variable based guard use the default else
return a null tree. */
static tree
aarch64_stack_protect_guard (void)
{
if (aarch64_stack_protector_guard == SSP_GLOBAL)
return default_stack_protect_guard ();
return NULL_TREE;
}
#endif /* #if CHECKING_P */ #endif /* #if CHECKING_P */
#undef TARGET_STACK_PROTECT_GUARD #undef TARGET_STACK_PROTECT_GUARD
......
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