http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40125
--- Comment #4 from Dave Korn <davek at gcc dot gnu.org> 2010-11-28 01:29:27 UTC --- Created attachment 22549 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22549 testing patch Something along these lines ought to get us most of the way there.