This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop
- From: "dnovillo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 18:16:14 +0000
- Subject: [Bug tree-optimization/47228] [4.6 Regression] wrong code with loop
- Auto-submitted: auto-generated
- References: <bug-47228-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228
--- Comment #9 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:57:08 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:57:01 2011
New Revision: 169648
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169648
Log:
2011-01-27 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/47228
* tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
build_ref_for_offset.
* testsuite/gcc.dg/torture/pr47228.c: New test.
Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47228.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-sra.c