This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175634 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: jamborm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2011 12:55:45 -0000
- Subject: r175634 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: jamborm
Date: Wed Jun 29 12:55:44 2011
New Revision: 175634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175634
Log:
2011-06-29 Martin Jambor <mjambor@suse.cz>
Backport from mainline
2011-06-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimizations/49516
* tree-sra.c (sra_modify_assign): Choose the safe path for
aggregate copies if we also did scalar replacements.
* testsuite/g++.dg/tree-ssa/pr49516.C: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/tree-ssa/pr49516.C
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/tree-sra.c