http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782
--- Comment #17 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-02-17 17:59:43 UTC --- Created attachment 26695 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26695 Untested proposed fix This untested patch fixes the issue for me on a cross-compiler. It would be great if someone who is set up to run the testsuite on a platform with multiple address spaces or a simulator of one could test it a bit. My plan is to discuss this with maintainers next week and if they like the approach, give it a formal bootstrap and test run on x86_64 and submit shortly thereafter if everything goes fine.