Commit 329c9aee by Jeff Law Committed by Jeff Law

powerpcspe.c (rs6000_expand_prologue): Fix thinko in stack clash protection support.

	* config/powerpcspe/powerpcspe.c (rs6000_expand_prologue): Fix
	thinko in stack clash protection support.

From-SVN: r253036
parent 9d2bac69
2017-09-20 Jeff Law <law@redhat.com>
* config/powerpcspe/powerpcspe.c (rs6000_expand_prologue): Fix
thinko in stack clash protection support.
* explow.c (compute_stack_clash_protection_loop_data): Use
CONST_INT_P instead of explicit test. Verify object is a
CONST_INT_P before looking at INTVAL.
......@@ -29688,7 +29688,7 @@ rs6000_emit_prologue (void)
current_function_static_stack_size = info->total_size;
if (flag_stack_check == STATIC_BUILTIN_STACK_CHECK
|| flag_stack_check_protection)
|| flag_stack_clash_protection)
{
HOST_WIDE_INT size = info->total_size;
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