diff options
author | Richard Biener <rguenther@suse.de> | 2021-08-31 11:04:51 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-08-31 12:27:04 +0200 |
commit | 67927342290c61d7e054430f1d7a7281f1f97fae (patch) | |
tree | e5ed7ed50d168232fef26a3cb999b77eabdf4420 /gcc/fortran/trans-openmp.c | |
parent | de7a795c321e76826d123c92b99e73e144666b60 (diff) | |
download | gcc-67927342290c61d7e054430f1d7a7281f1f97fae.zip gcc-67927342290c61d7e054430f1d7a7281f1f97fae.tar.gz gcc-67927342290c61d7e054430f1d7a7281f1f97fae.tar.bz2 |
tree-optimization/102142 - fix typo in loop BB reduc cost adjustment
This fixes a typo in the condition guarding the cleanup of the
visited flag of costed scalar stmts.
2021-08-31 Richard Biener <rguenther@suse.de>
PR tree-optimization/102142
* tree-vect-slp.c (vect_bb_vectorization_profitable_p): Fix
condition under which to unset the visited flag.
* g++.dg/torture/pr102142.C: New testcase.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions