summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-26 05:44:18 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-26 05:44:18 +0000
commit4a9e33779566436d8cd2bf3009be3c513acc78ed (patch)
tree5435ca4c6523c361f8cfc89d36e865c3f5ac691b /gcc/gensupport.c
parente6c4bf4bf0275c97d8c3946f7b732c0fd6f51ef0 (diff)
downloadgcc-4a9e33779566436d8cd2bf3009be3c513acc78ed.tar.gz
* gensupport.c (alter_output_for_insn): Correct enable checking failure
change XSTR to XTMPL. (process_one_cond_exec): Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44378 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r--gcc/gensupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index bd80ca47389..e03392b3fb8 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -622,7 +622,7 @@ alter_output_for_insn (ce_elem, insn_elem, alt, max_op)
/* ??? Could coordinate with genoutput to not duplicate code here. */
ce_out = XSTR (ce_elem->data, 2);
- insn_out = XSTR (insn_elem->data, 3);
+ insn_out = XTMPL (insn_elem->data, 3);
if (!ce_out || *ce_out == '\0')
return insn_out;
@@ -724,7 +724,7 @@ process_one_cond_exec (ce_elem)
}
XSTR (insn, 2) = alter_test_for_insn (ce_elem, insn_elem);
- XSTR (insn, 3) = alter_output_for_insn (ce_elem, insn_elem,
+ XTMPL (insn, 3) = alter_output_for_insn (ce_elem, insn_elem,
alternatives, max_operand);
/* ??? Set `predicable' to false. Not crucial since it's really