public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces()
@ 2021-09-18 14:27 fxue at os dot amperecomputing.com
2021-09-20 8:50 ` [Bug tree-optimization/102400] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fxue at os dot amperecomputing.com @ 2021-09-18 14:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400
Bug ID: 102400
Summary: Field might miss initialization in
vn_reference_insert_pieces()
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: fxue at os dot amperecomputing.com
Target Milestone: ---
There is no initialization for vr1->result_vdef, and it may contain non-zero
garbage value.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/102400] Field might miss initialization in vn_reference_insert_pieces()
2021-09-18 14:27 [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces() fxue at os dot amperecomputing.com
@ 2021-09-20 8:50 ` rguenth at gcc dot gnu.org
2021-09-24 3:05 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-20 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-09-20
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, it should be safe to zero initialize it (the field was added late).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/102400] Field might miss initialization in vn_reference_insert_pieces()
2021-09-18 14:27 [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces() fxue at os dot amperecomputing.com
2021-09-20 8:50 ` [Bug tree-optimization/102400] " rguenth at gcc dot gnu.org
@ 2021-09-24 3:05 ` cvs-commit at gcc dot gnu.org
2021-09-24 3:33 ` cvs-commit at gcc dot gnu.org
2021-09-24 4:26 ` fxue at os dot amperecomputing.com
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-24 3:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Feng Xue <fxue@gcc.gnu.org>:
https://gcc.gnu.org/g:29c92857039d0a105281be61c10c9e851aaeea4a
commit r12-3875-g29c92857039d0a105281be61c10c9e851aaeea4a
Author: Feng Xue <fxue@os.amperecomputing.com>
Date: Thu Sep 23 09:14:33 2021 +0800
Fix value uninitialization in vn_reference_insert_pieces [PR102400]
2021-09-23 Feng Xue <fxue@os.amperecomputing.com>
gcc/
PR tree-optimization/102400
* tree-ssa-sccvn.c (vn_reference_insert_pieces): Initialize
result_vdef to zero value.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/102400] Field might miss initialization in vn_reference_insert_pieces()
2021-09-18 14:27 [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces() fxue at os dot amperecomputing.com
2021-09-20 8:50 ` [Bug tree-optimization/102400] " rguenth at gcc dot gnu.org
2021-09-24 3:05 ` cvs-commit at gcc dot gnu.org
@ 2021-09-24 3:33 ` cvs-commit at gcc dot gnu.org
2021-09-24 4:26 ` fxue at os dot amperecomputing.com
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-24 3:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Feng Xue <fxue@gcc.gnu.org>:
https://gcc.gnu.org/g:210c3901749a245dc45f04da3dac70ef126e6762
commit r11-9030-g210c3901749a245dc45f04da3dac70ef126e6762
Author: Feng Xue <fxue@os.amperecomputing.com>
Date: Thu Sep 23 09:14:33 2021 +0800
Fix value uninitialization in vn_reference_insert_pieces [PR102400]
2021-09-23 Feng Xue <fxue@os.amperecomputing.com>
gcc/
PR tree-optimization/102400
* tree-ssa-sccvn.c (vn_reference_insert_pieces): Initialize
result_vdef to zero value.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/102400] Field might miss initialization in vn_reference_insert_pieces()
2021-09-18 14:27 [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces() fxue at os dot amperecomputing.com
` (2 preceding siblings ...)
2021-09-24 3:33 ` cvs-commit at gcc dot gnu.org
@ 2021-09-24 4:26 ` fxue at os dot amperecomputing.com
3 siblings, 0 replies; 5+ messages in thread
From: fxue at os dot amperecomputing.com @ 2021-09-24 4:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400
Feng Xue <fxue at os dot amperecomputing.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Feng Xue <fxue at os dot amperecomputing.com> ---
Fixed
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-24 4:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 14:27 [Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces() fxue at os dot amperecomputing.com
2021-09-20 8:50 ` [Bug tree-optimization/102400] " rguenth at gcc dot gnu.org
2021-09-24 3:05 ` cvs-commit at gcc dot gnu.org
2021-09-24 3:33 ` cvs-commit at gcc dot gnu.org
2021-09-24 4:26 ` fxue at os dot amperecomputing.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).