diff options
author | Richard Biener <rguenther@suse.de> | 2019-11-05 16:12:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-11-05 16:12:07 +0000 |
commit | 02bf7e6fa219f939b3225c54fbe8bab2133b1aeb (patch) | |
tree | f478ba0da318ede08b7f8bdd8b92bcb5c399f550 /gcc/tree-vrp.c | |
parent | c6a7be9bdadf67dcc5496222129acadbb2dd0610 (diff) | |
download | gcc-02bf7e6fa219f939b3225c54fbe8bab2133b1aeb.zip gcc-02bf7e6fa219f939b3225c54fbe8bab2133b1aeb.tar.gz gcc-02bf7e6fa219f939b3225c54fbe8bab2133b1aeb.tar.bz2 |
re PR tree-optimization/92371 (ICE in info_for_reduction, at tree-vect-loop.c:4106)
2019-11-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/92371
* tree-vect-loop.c (vectorizable_reduction): Set STMT_VINFO_REDUC_DEF
on the original stmt of live stmts in the chain.
(vectorizable_live_operation): Look at the original stmt when
checking STMT_VINFO_REDUC_DEF.
* gcc.dg/torture/pr92371.c: New testcase.
From-SVN: r277850
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions