http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53604
--- Comment #10 from Paul Scruby <paul.scruby at ghco dot co.uk> 2012-06-14 08:16:28 UTC --- I released that I needed to add Yuri's patch to gcc-4.7.1.RC-20120606 as it had not made it into the trunk. However, this still made no difference and I still had the same linking problem. I'll try to hack together a standalone example today that I can attach to the report to see if someone can reproduce it.