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/47383] [x32] Incorrect array access


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47383

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-20 23:07:32 UTC ---
For x32, ptr_mode is SImode and Pmode is DImode. When using
base + index addressing, base needs to zero-extend to Pmode
and index should be sign-extend to DImode.  GCC zero extends
index to DImode.


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