http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51573
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-16 13:21:40 UTC --- Created attachment 26109 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26109 patch #2 Second patch that looks cleaner to me but runs into the C++ issue I mentioned.