Fix compile-time hog in MPX boundary checking (PR target/84988).
authorMartin Liska <mliska@suse.cz>
Wed, 21 Mar 2018 08:26:05 +0000 (09:26 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 21 Mar 2018 08:26:05 +0000 (08:26 +0000)
commit9a4dbf9100ab622212aa8eb78f380fd932dd4582
treebc351f8884dfdde47c1054b71066d29ab71649bd
parent1bdbef090299990b1fdef6323bb3daa48acf9349
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.

From-SVN: r258704
gcc/ChangeLog
gcc/tree-chkp.c