OSDN Git Service

Backport from mainline
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2012 08:10:37 +0000 (08:10 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2012 08:10:37 +0000 (08:10 +0000)
commit3cb4b8e201bbdc2105b79eb5995ddd5e6c88c56b
tree97e35f9e57d97737a8e4bdb5f14e48e738657b70
parent071be23809d255227730595ebfae85181b744ac8
Backport from mainline
2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/55597
* config/i386/i386.c (legitimize_tls_address): Zero-extend x to Pmode,
before using it as insn or call equivalent.

testsuite/ChangeLog:

Backport from mainline
2012-12-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/55597
* gcc.target/i386/pr55597.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194292 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr55597.c [new file with mode: 0644]