This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49343] [4.7 regression] ICE on field with variable offset


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]