http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54281
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-16 11:18:42 UTC --- Another fix is to include all system headers (and thus gmp.h) from system.h which always comes before includes of intl.h.