aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorHao Liu <hliu@os.amperecomputing.com>2023-07-04 17:17:50 +0800
committerHao Liu <hliu@os.amperecomputing.com>2023-07-04 17:19:23 +0800
commit2c12ccf800fc7890925402d30a02f0fa9e2627cc (patch)
tree28df6c269b8fcc5d8f646b74711f2a15a277858f /gcc/tree-ssa-phiopt.cc
parentb083203f053f1666e9cc1ded2abdf4e1688d1ec0 (diff)
downloadgcc-2c12ccf800fc7890925402d30a02f0fa9e2627cc.zip
gcc-2c12ccf800fc7890925402d30a02f0fa9e2627cc.tar.gz
gcc-2c12ccf800fc7890925402d30a02f0fa9e2627cc.tar.bz2
PR tree-optimization/110531 - Vect: avoid using uninitialized variable
slp_done_for_suggested_uf is used directly in vect_analyze_loop_2 without initialization, which is undefined behavior. Initialize it to false according to the discussion. gcc/ChangeLog: PR tree-optimization/110531 * tree-vect-loop.cc (vect_analyze_loop_1): initialize slp_done_for_suggested_uf to false.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions