projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a8ae1
)
vect: Fix uninitialised variable PR104026
author
Richard Sandiford
<richard.sandiford@arm.com>
Fri, 14 Jan 2022 18:41:12 +0000
(18:41 +0000)
committer
Richard Sandiford
<richard.sandiford@arm.com>
Fri, 14 Jan 2022 18:41:12 +0000
(18:41 +0000)
As noted by Tobias in the PR, the loop_vec_info constructor wasn't
initializing the new partial_load_store_bias field.
gcc/
PR middle-end/104026
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Initialize
partial_load_store_bias.
gcc/tree-vect-loop.c
patch
|
blob
|
history
diff --git
a/gcc/tree-vect-loop.c
b/gcc/tree-vect-loop.c
index
1dbdb9e
..
f1410b0
100644
(file)
--- a/
gcc/tree-vect-loop.c
+++ b/
gcc/tree-vect-loop.c
@@
-846,6
+846,7
@@
_loop_vec_info::_loop_vec_info (class loop *loop_in, vec_info_shared *shared)
can_use_partial_vectors_p (param_vect_partial_vector_usage != 0),
using_partial_vectors_p (false),
epil_using_partial_vectors_p (false),
+ partial_load_store_bias (0),
peeling_for_gaps (false),
peeling_for_niter (false),
no_data_dependencies (false),