Hello, with this patch on top of https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02315.html we finally warn for the testcase of PR 60517. The new function is copied from init_subtree_with_zero right above. I guess it might be possible to merge them into a single function, if desired. I don't understand the debug stuff, but hopefully by keeping the functions similar enough it shouldn't be too broken. When we see a clobber during scalarization, instead of dropping it, we add a clobber to the new variable, which the previous patch turns into an SSA_NAME with a default def. Then either we reach uninit and warn, or the variable appears in a PHI and CCP optimizes. Bootstrap+testsuite (all,obj-c++,ada,go) on x86_64-linux-gnu. 2014-07-01 Marc Glisse PR c++/60517 PR tree-optimization/60770 gcc/ * tree-sra.c (clobber_subtree): New function. (sra_modify_constructor_assign): Call it. gcc/testsuite/ * g++.dg/tree-ssa/pr60517.C: New file. -- Marc Glisse