This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/65644] Assembler errors on Solaris 10 x86-64: `(%eXX)' is not a valid 64 bit base/index expression


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]