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/rtl.c | |
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/rtl.c')
-rw-r--r-- | gcc/rtl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -320,6 +320,10 @@ shallow_copy_rtx_stat (rtx orig MEM_STAT_DECL) /* Nonzero when we are generating CONCATs. */ int generating_concat_p; + +/* Nonzero when we are expanding trees to RTL. */ +int currently_expanding_to_rtl; + /* Return 1 if X and Y are identical-looking rtx's. This is the Lisp function EQUAL for rtx arguments. */ |