------- Comment #5 from jamborm at gcc dot gnu dot org 2009-06-29 17:11 ------- Created an attachment (id=18094) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18094&action=view) Fix
It turns out that build_ref_for_offset apparently needs to check for full type compatibility and node just for useless_conversions. It is used more generally but also in much stricter same-type conditions than I have originally intended to. I will test this fix (alongside with another one) overnight and submit it tomorrow if everything goes fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40582