OSDN Git Service

Disallow negative constant address for x32
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 18:23:12 +0000 (18:23 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 18:23:12 +0000 (18:23 +0000)
commitc766750c56038b012be489f1bcbe5cb818edeeae
treeaa391aa4dbf472f6762b9b05a97e50d40cce216e
parentf06b90735bae23bedcc6e6c183bceeba88b2982a
Disallow negative constant address for x32

gcc/

2012-02-10  Uros Bizjak  <ubizjak@gmail.com>

PR target/52146
* config/i386/i386.c (ix86_legitimate_address_p): Disallow
negative constant address for x32.

gcc/testsuite/

2012-02-10  H.J. Lu  <hongjiu.lu@intel.com>

PR target/52146
* gcc.target/i386/pr52146.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184111 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog