re PR tree-optimization/72866 (Compile time hog w/ -O3 (-Ofast))
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Aug 2016 06:54:02 +0000 (08:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Aug 2016 06:54:02 +0000 (08:54 +0200)
commit5116b156b72d0bc2df4875f7c8f84c2e5973c38e
tree4f8204ec287148ff2138179eba1c73407dc67118
parent3754bbfc36b1650ab47e22446af664ecab5bbf2d
re PR tree-optimization/72866 (Compile time hog w/ -O3 (-Ofast))

PR tree-optimization/72866
* tree-vect-patterns.c (search_type_for_mask): Turn into
a small wrapper, move all code to ...
(search_type_for_mask_1): ... this new function.  Add caching
and adjust recursive calls.

* gcc.dg/vect/pr72866.c: New test.

From-SVN: r239856
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr72866.c [new file with mode: 0644]
gcc/tree-vect-patterns.c