summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-01 01:03:29 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-01 01:03:29 +0000
commit316bc009df44b63977cb0f1e4a51678920a6e8f3 (patch)
tree72e5e800965de1a0aefec76ff7020c0d0810bdc1 /gcc/rtl.c
parente424e632b56a0536f9a4ee300716fc05e07cf48d (diff)
downloadgcc-316bc009df44b63977cb0f1e4a51678920a6e8f3.tar.gz
* stmt.c (expand_asm_operands): Twiddle generating_concat_p
so that CONCATs are not generated for ASMs. * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when not generating_concat_p. * function.c (pop_function_context_from): Reset generating_concat_p. (prepare_function_start): Likewise. * rtl.c (generating_concat_p): Define. * rtl.h (generating_concat_p): Declare. * toplev.c (rest_of_compilation): No CONCATs after RTL generation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index de28a603a9c..ad89fff0920 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -578,6 +578,9 @@ shallow_copy_rtx (orig)
/* This is 1 until after the rtl generation pass. */
int rtx_equal_function_value_matters;
+
+/* Nonzero when we are generating CONCATs. */
+int generating_concat_p;
/* Return 1 if X and Y are identical-looking rtx's.
This is the Lisp function EQUAL for rtx arguments. */