re PR tree-optimization/81723 (fortran build doesn't terminate on 64bit targets)
authorRichard Biener <rguenther@suse.de>
Tue, 8 Aug 2017 12:49:39 +0000 (12:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Aug 2017 12:49:39 +0000 (12:49 +0000)
commit26d66f28fdb9bea6e05c2c9f9df7870f9d9f76b2
tree44c9ca13f1ec9e28922d7e114717cf35d2f576bb
parent82c0d3ebe651bb12c087855c0e621cf070e97ed3
re PR tree-optimization/81723 (fortran build doesn't terminate on 64bit targets)

2017-08-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81723
* tree-vect-slp.c (struct bst_traits): New hash traits.
(bst_fail): New global.
(vect_build_slp_tree_2): New worker, split out from ...
(vect_build_slp_tree): ... this now wrapping it with using
bst_fail set to cache SLP tree build fails.  Properly handle
max_tree_size.
(vect_analyze_slp_instance): Allocate and free bst_fail.

* gfortran.dg/pr81723.f: New testcase.

From-SVN: r250953
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr81723.f [new file with mode: 0644]
gcc/tree-vect-slp.c