mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 11:50:57 +08:00
re PR tree-optimization/91114 (ICE in vect_analyze_loop, at tree-vect-loop.c:2415)
2019-07-09 Richard Biener <rguenther@suse.de> PR tree-optimization/91114 * tree-vect-data-refs.c (vect_analyze_data_refs): Failure to find a vector type isn't fatal. * gcc.dg/vect/pr91114.c: New testcase. From-SVN: r273306
This commit is contained in:
parent
801c9ae963
commit
1f88cc260c
@ -1,3 +1,9 @@
|
||||
2019-07-09 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/91114
|
||||
* tree-vect-data-refs.c (vect_analyze_data_refs): Failure to
|
||||
find a vector type isn't fatal.
|
||||
|
||||
2019-07-09 Sylvia Taylor <sylvia.taylor@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-simd.md
|
||||
|
@ -1,3 +1,8 @@
|
||||
2019-07-09 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/91114
|
||||
* gcc.dg/vect/pr91114.c: New testcase.
|
||||
|
||||
2019-07-09 Sylvia Taylor <sylvia.taylor@arm.com>
|
||||
|
||||
* gcc.target/aarch64/crypto-fuse-1.c: Remove.
|
||||
|
12
gcc/testsuite/gcc.dg/vect/pr91114.c
Normal file
12
gcc/testsuite/gcc.dg/vect/pr91114.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-additional-options "-fopenmp-simd" } */
|
||||
|
||||
void
|
||||
ne (double *zu)
|
||||
{
|
||||
int h3;
|
||||
|
||||
#pragma omp simd simdlen (4)
|
||||
for (h3 = 0; h3 < 4; ++h3)
|
||||
zu[h3] = 0;
|
||||
}
|
@ -4360,6 +4360,8 @@ vect_analyze_data_refs (vec_info *vinfo, poly_uint64 *min_vf, bool *fatal)
|
||||
STMT_VINFO_VECTORIZABLE (stmt_info) = false;
|
||||
continue;
|
||||
}
|
||||
if (fatal)
|
||||
*fatal = false;
|
||||
return opt_result::failure_at (stmt_info->stmt,
|
||||
"not vectorized:"
|
||||
" no vectype for stmt: %G"
|
||||
|
Loading…
x
Reference in New Issue
Block a user