]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/102608 - avoid CSEing .DEFERRED_INIT
authorRichard Biener <rguenther@suse.de>
Thu, 7 Oct 2021 12:24:03 +0000 (14:24 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 7 Oct 2021 12:28:00 +0000 (14:28 +0200)
commit1ebf2c14c60f5f37c00bea66aba46c25d4bcf473
tree43929737d78740d78c40566d03b5f3a18b0666ac
parent4fcf7f6800ffde9fd5ebc06e03937f55f80f68ec
tree-optimization/102608 - avoid CSEing .DEFERRED_INIT

This makes VN not CSE .DEFERRED_INIT which confuses uninit
analysis which reports the wrong decl when facing copies
of not initialized data.

2021-10-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/102608
* tree-ssa-sccvn.c (visit_stmt): Drop .DEFERRED_INIT to
varying.
gcc/tree-ssa-sccvn.c