re PR tree-optimization/85478 (ICE with single element vector)
authorAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 24 Apr 2018 12:18:26 +0000 (12:18 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 24 Apr 2018 12:18:26 +0000 (12:18 +0000)
commit062c0a7b2f8dc58f8bb7c6d3448866812bfc75c1
treeb116ed1346fa4438cf90a3e37d1bd17de2f8163d
parent4149dd37d914325fd275675b29d39049612b0a76
re PR tree-optimization/85478 (ICE with single element vector)

Fix PR85478

gcc/ChangeLog:

2018-04-24  Andreas Krebbel  <krebbel@linux.ibm.com>

PR tree-optimization/85478
* tree-vect-loop.c (vect_analyze_loop_2): Do not call
vect_grouped_store_supported for single element vectors.

gcc/testsuite/ChangeLog:

2018-04-24  Andreas Krebbel  <krebbel@linux.ibm.com>

PR tree-optimization/85478
* g++.dg/pr85478.C: New test.

From-SVN: r259593
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr85478.C [new file with mode: 0644]
gcc/tree-vect-loop.c