[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 17 08:45:56 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kewen Lin <linkw@gcc.gnu.org>:
https://gcc.gnu.org/g:081c623ca88dc53abe34b5f5661e79fcde800cef
commit r14-2560-g081c623ca88dc53abe34b5f5661e79fcde800cef
Author: Kewen Lin <linkw@linux.ibm.com>
Date: Mon Jul 17 03:44:59 2023 -0500
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.
More information about the Gcc-bugs
mailing list