explow.c (compute_stack_clash_protection_loop_data): Use CONST_INT_P instead of expli...
authorJeff Law <law@redhat.com>
Wed, 20 Sep 2017 21:59:50 +0000 (15:59 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 20 Sep 2017 21:59:50 +0000 (15:59 -0600)
commit94c23e3960c24a3bfcfe2daf7158fb51e0aa0e22
tree0bffd958305c88a648ef654d191156ee0e8c2e37
parent6073d0028debf7cbd80dc0678402cbe2c6ea652d
explow.c (compute_stack_clash_protection_loop_data): Use CONST_INT_P instead of explicit test.

* 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.

From-SVN: r253034
gcc/ChangeLog
gcc/explow.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stack-check-11.c