re PR target/65103 ([i386] GOTOFF relocation is not propagated into address expression)
authorIlya Enkovich <ilya.enkovich@intel.com>
Wed, 13 May 2015 08:29:14 +0000 (08:29 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Wed, 13 May 2015 08:29:14 +0000 (08:29 +0000)
commit7947dd0bdf9cfe2a704355b1e5d7c7f786c67b9b
treeb20f108b8c558f2565a2e59340297658b4211432
parentf27127ceddb656b988c21da5f3ef9fa8a7f44afe
re PR target/65103 ([i386] GOTOFF relocation is not propagated into address expression)

gcc/

PR target/65103
* config/i386/i386.c (ix86_rtx_costs): We want to propagate
link time constants into adress expressions and therefore set
their cost to 0.

gcc/testsuite/

PR target/65103
* gcc.target/i386/pr65103-3.c: New.

From-SVN: r223119
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr65103-3.c [new file with mode: 0644]