diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2023-07-17 03:44:59 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2023-07-17 03:44:59 -0500 |
commit | 081c623ca88dc53abe34b5f5661e79fcde800cef (patch) | |
tree | 9d0b7d6b4f43a02a9a95c4b5aee37dcf28a27edc /gcc/fortran/st.cc | |
parent | 3228e5c078ed2b505e4ad238b09c1817b38f9cfb (diff) | |
download | gcc-081c623ca88dc53abe34b5f5661e79fcde800cef.zip gcc-081c623ca88dc53abe34b5f5661e79fcde800cef.tar.gz gcc-081c623ca88dc53abe34b5f5661e79fcde800cef.tar.bz2 |
vect: Initialize new_temp to avoid false positive warning [PR110652]
As PR110652 and its duplicate PRs show, there could be one
build error
error: 'new_temp' may be used uninitialized
for some build configurations. It's a false positive warning
(or error at -Werror), but in order to make the build succeed,
this patch is to initialize the reported variable 'new_temp'
as NULL_TREE.
PR tree-optimization/110652
gcc/ChangeLog:
* tree-vect-stmts.cc (vectorizable_load): Initialize new_temp as
NULL_TREE.
Diffstat (limited to 'gcc/fortran/st.cc')
0 files changed, 0 insertions, 0 deletions