diff options
author | Jeff Law <law@redhat.com> | 2011-03-17 14:08:01 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2011-03-17 14:08:01 -0600 |
commit | 82ce305c0ce60d86928e6d2c7451d0401a446a78 (patch) | |
tree | 7e9474f74a35ea5586f2698171cdcd9058633f03 /gcc/function.c | |
parent | 3ade8456a1d97911730cd904a6c1b5e64993ee55 (diff) | |
download | gcc-82ce305c0ce60d86928e6d2c7451d0401a446a78.zip gcc-82ce305c0ce60d86928e6d2c7451d0401a446a78.tar.gz gcc-82ce305c0ce60d86928e6d2c7451d0401a446a78.tar.bz2 |
re PR rtl-optimization/37273 (IRA does not re-materializes addresses (loads from the TOC))
PR rtl-optimization/37273
* ira-costs.c (scan_one_insn): Detect constants living in memory and
handle them like argument loads from stack slots. Do not double
count memory for memory constants and argument loads from stack slots.
From-SVN: r171111
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions