http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50306
--- Comment #3 from Marc-Andre Laperle <malaperle at omnialabs dot net> 2011-11-19 05:38:32 UTC --- I tried 4.6.2, r181503 and r180166 and they all compiled the sample code without error. Do you have any local changes or special parameters that made it not compile?