This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65644] Assembler errors on Solaris 10 x86-64: `(%eXX)' is not a valid 64 bit base/index expression
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Apr 2015 07:35:40 +0000
- Subject: [Bug target/65644] Assembler errors on Solaris 10 x86-64: `(%eXX)' is not a valid 64 bit base/index expression
- Auto-submitted: auto-generated
- References: <bug-65644-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65644
--- Comment #1 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Daniel Richard G. from comment #0)
> No such error occurs when I compile this source on a Linux system, so this
> may have to do with the Solaris assembler.
This is perfectly valid addr32 prefixed address:
(set (mem:SI (zero_extend:DI (reg/v:SI 5 di)))
(reg/v:SI 4 si [orig:90 val ] [90]))
0000000000000000 <foo1>:
0: 67 89 37 addr32 mov %esi,(%edi)
3: c3 retq
I don't know why Solaris assembler emits error here. It should be at most a
warning.