https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666
--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Mon Mar 7 15:17:49 2016 New Revision: 234030 URL: https://gcc.gnu.org/viewcvs?rev=234030&root=gcc&view=rev Log: Fix PR 69666 and PR 69920 2016-03-07 Martin Jambor <mjam...@suse.cz> PR tree-optimization/69666 PR middle-end/69920 * tree-sra.c (sra_modify_assign): Do not attempt to create default_def replacements for unscalarizable regions. Do not remove loads of uninitialized aggregates to SSA_NAMEs. testsuite/ * gcc.dg/torture/pr69932.c: New test. * gcc.dg/torture/pr69936.c: Likewise. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69932.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69936.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-sra.c