diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-07-29 07:37:16 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-07-29 07:37:16 +0000 |
commit | 4586b4cadc3bbcbc9a171ffc9124fc622858a514 (patch) | |
tree | c0aa53887f8a11c6cc95d9255d436ab2f4e4b446 /gcc/config/alpha | |
parent | 157371cf43544336eaca4ae81b6e2a95f69645ec (diff) | |
download | gcc-4586b4cadc3bbcbc9a171ffc9124fc622858a514.zip gcc-4586b4cadc3bbcbc9a171ffc9124fc622858a514.tar.gz gcc-4586b4cadc3bbcbc9a171ffc9124fc622858a514.tar.bz2 |
rtl.c (currently_expanding_to_rtl): New.
* rtl.c (currently_expanding_to_rtl): New.
* rtl.h (currently_expanding_to_rtl): Export it.
* cfgexpand.c (tree_cfg_expand): Set/clear it at entry/exit.
* config/alpha/alpha.c (alpha_expand_mov): Remove old RTL
inliner hack.
* config/sh/sh.c: Replace rtx_equal_function_value_matters
with currently_expanding_to_rtl.
* config/sh/sh.md: Likewise.
* config/ia64/ia64.c (got_symbolic_operand): Likewise.
From-SVN: r85287
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r-- | gcc/config/alpha/alpha.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index d195cab..02bfb72 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2796,23 +2796,6 @@ alpha_expand_mov (enum machine_mode mode, rtx *operands) { rtx tmp; - /* With RTL inlining, at -O3, rtl is generated, stored, then actually - compiled at the end of compilation. In the meantime, someone can - re-encode-section-info on some symbol changing it e.g. from global - to local-not-small. If this happens, we'd have emitted a plain - load rather than a high+losum load and not recognize the insn. - - So if rtl inlining is in effect, we delay the global/not-global - decision until rest_of_compilation by wrapping it in an - UNSPEC_SYMBOL. */ - if (TARGET_EXPLICIT_RELOCS && flag_inline_functions - && rtx_equal_function_value_matters - && global_symbolic_operand (operands[1], mode)) - { - emit_insn (gen_movdi_er_maybe_g (operands[0], operands[1])); - return true; - } - tmp = alpha_legitimize_address (operands[1], operands[0], mode); if (tmp) { |