https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65644
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |ro at gcc dot gnu.org, | |uros at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (%edi) etc. in 64-bit mode should be assembled as addr32 (0x67) prefix on the instruction. If Solaris assembler doesn't handle it, guess first somebody needs to investigate if it has a different syntax for the same thing, or just doesn't support it at all, what versions are affected etc. If it doesn't support it at all, it would mean -mx32 support would be impossible, and the addr32 pieces in e.g. ix86_decompose_address would need to be disabled based on some configure macro.