* explow.c (compute_stack_clash_protection_loop_data): Use
commit71b44b37ab27dd5bfae23ec9eabc88be52e019e7
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Sep 2017 21:59:50 +0000 (20 21:59 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Sep 2017 21:59:50 +0000 (20 21:59 +0000)
tree0bffd958305c88a648ef654d191156ee0e8c2e37
parent237c1ea8f68a7cc3100b63ee50da05c9e0b0ea6d
* 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.
(anti_adjust_stack_and_probe_stack_clash): Use CONST_INT_P
instead of explicit test.

* gcc.target/i386/stack-check-11.c: Update test and regexp
so that it works for both i?86 and x86_64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253034 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/explow.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stack-check-11.c