http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827
--- Comment #25 from Mikael Morin <mikael at gcc dot gnu.org> 2010-10-24 12:02:34 UTC --- Created attachment 22140 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22140 Version of the test that works for me. Just to be clear. Can you check that with the just attached version of your sample code you still have the problem ? I tried to reorder some use statements on it and it still works fine.