summaryrefslogtreecommitdiffstats
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-29 07:37:16 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-29 07:37:16 +0000
commit723c0ee7cefb8e32fdf4e4e72228f5bb50ec59bf (patch)
treec0aa53887f8a11c6cc95d9255d436ab2f4e4b446 /gcc/rtl.h
parent7105fb72a2283ebf0038b304965883da64c0ca1a (diff)
downloadppe42-gcc-723c0ee7cefb8e32fdf4e4e72228f5bb50ec59bf.tar.gz
ppe42-gcc-723c0ee7cefb8e32fdf4e4e72228f5bb50ec59bf.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 965650f5788..06a553e555c 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1543,6 +1543,9 @@ do { \
/* Nonzero when we are generating CONCATs. */
extern int generating_concat_p;
+/* Nonzero when we are expanding trees to RTL. */
+extern int currently_expanding_to_rtl;
+
/* Generally useful functions. */
/* In expmed.c */
OpenPOWER on IntegriCloud