This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49343] [4.7 regression] ICE on field with variable offset
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jun 2011 11:23:57 +0000
- Subject: [Bug tree-optimization/49343] [4.7 regression] ICE on field with variable offset
- Auto-submitted: auto-generated
- References: <bug-49343-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49343
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-06-10 11:23:32 UTC ---
Apparently build_ref_for_model has to calculate offsets of
COMPONENT_REFs with component_ref_field_offset just like
get_ref_base_and_extent does in order to be able to make sense of
"placeholders" ...whatever they are.
I'll prepare a patch soon.