http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142
--- Comment #25 from Uros Bizjak <ubizjak at gmail dot com> 2012-11-08 16:24:12 UTC --- (In reply to comment #24) > I think the most robust solution would be to always zero-extend the addresses > for -mx32, i.e. output > movl %ecx, -1073743664(%eax) > even if the address is a PLUS in DImode. Otherwise, we're left with > kludges... No, this would be one giant kludge by itself. The failure just shows that the controversial patch [1] for PR 49721 was wrong. Quote from [1]: --quote-- I am checking in this patch, which only affects x32 and nothing else. This one character change, from POINTERS_EXTEND_UNSIGNED < 0 to POINTERS_EXTEND_UNSIGNED != 0 creates a working x32 GCC. This isn't perfect. I have tried many different approaches without any success. I will revisit it if we run into any problems with x32 applications. --/qoute-- So, we run into problem. [1] http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01618.html