This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51624] [4.6/4.7 regression] Assert_Failure atree.adb:808 during stage 3
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jan 2012 21:37:15 +0000
- Subject: [Bug tree-optimization/51624] [4.6/4.7 regression] Assert_Failure atree.adb:808 during stage 3
- Auto-submitted: auto-generated
- References: <bug-51624-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51624
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-04 21:37:15 UTC ---
Author: ebotcazou
Date: Wed Jan 4 21:37:11 2012
New Revision: 182890
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182890
Log:
PR tree-optimization/51624
* tree-sra.c (build_ref_for_model): When replicating a chain of
COMPONENT_REFs, stop as soon as the offset would become negative.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/tree-sra.c