Disallow negative constant address for x32
authorH.J. Lu <hjl@gcc.gnu.org>
Fri, 10 Feb 2012 18:23:12 +0000 (10:23 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 10 Feb 2012 18:23:12 +0000 (10:23 -0800)
commit877fb4507b254f536cbe3aa19e346092e0bf2661
treeaa391aa4dbf472f6762b9b05a97e50d40cce216e
parent75cee7c62ab4a51c1e9c18f1c06febbd38b8021b
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.

From-SVN: r184111
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog