http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45338
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2010-12-29 22:56:32 UTC --- Created attachment 22868 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22868 Tentative patch Sounds like the referenced attribute isn't set correctly. We could try setting it during resolution, like this.