http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48259 --- Comment #10 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-12-12 21:43:15 UTC --- Recent GCC 4.7.0 works with both testcases. GCC 4.6.3 still fails on the 1st.