Fix compile-time hog in MPX boundary checking (PR target/84988).
commit8268de475996b47be1c73d50efcdaf51f909177a
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2018 08:26:05 +0000 (21 08:26 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2018 08:26:05 +0000 (21 08:26 +0000)
treebc351f8884dfdde47c1054b71066d29ab71649bd
parent0dd49b5afa523651fdac149a855c3bdae0e35578
Fix compile-time hog in MPX boundary checking (PR target/84988).

2018-03-21  Martin Liska  <mliska@suse.cz>

PR target/84988
* tree-chkp.c (CHKP_ARRAY_MAX_CHECK_STEPS): Define a new macro.
(chkp_find_bound_slots_1): Limit number of iterations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258704 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-chkp.c