This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49798] .quad instead of .long is used for address for x32
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jul 2011 15:53:58 +0000
- Subject: [Bug target/49798] .quad instead of .long is used for address for x32
- Auto-submitted: auto-generated
- References: <bug-49798-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49798
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2011-07-21 15:53:56 UTC ---
IRA generates
(insn 13 3 18 2 (set (reg/v:DI 21 xmm0 [orig:63 v ] [63])
(mem/u/c/i:DI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0 S8 A64]))
x.i:12 62 {*movdi_internal_rex64}
(expr_list:REG_EQUIV (symbol_ref:DI ("xxxx") [flags 0x40] <var_decl
0x7f4068bbc140 xxxx>)
(nil)))
This requires zero-extending 32bit address to 64bit.