]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/83867 (ICE: Segmentation fault in nested_in_vect_loop_p)
authorRichard Biener <rguenther@suse.de>
Tue, 16 Jan 2018 15:13:05 +0000 (15:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 16 Jan 2018 15:13:05 +0000 (15:13 +0000)
commite57d9a82996838e73cc5470a1f3367e9c616b947
treeac5e50f963ca3c0b277556059348b35b981bc261
parent38943500babbfda935c1108a16ecbb03cb1a33e8
re PR tree-optimization/83867 (ICE: Segmentation fault in nested_in_vect_loop_p)

2018-01-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83867
* tree-vect-stmts.c (vect_transform_stmt): Precompute
nested_in_vect_loop_p since the scalar stmt may get invalidated.

* gcc.dg/vect/pr83867.c: New testcase.

From-SVN: r256746
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr83867.c [new file with mode: 0644]
gcc/tree-vect-stmts.c