http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47065
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2010-12-26 21:34:14 UTC --- Created attachment 22852 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22852 Partial patch This appears to work for the cases where there is no substring reference.