summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@gcc.gnu.org>2001-07-26 05:44:18 +0000
committerGraham Stott <grahams@gcc.gnu.org>2001-07-26 05:44:18 +0000
commit66621f9e02f3a3dcfb3d8671aee9ed5126abbe1a (patch)
tree5435ca4c6523c361f8cfc89d36e865c3f5ac691b /gcc/gensupport.c
parent5b16f5560b6372d7397cdcaf9ee7f9b4dce3fc12 (diff)
downloadgcc-66621f9e02f3a3dcfb3d8671aee9ed5126abbe1a.tar.gz
gensupport.c (alter_output_for_insn): Correct enable checking failure change XSTR to XTMPL.
* gensupport.c (alter_output_for_insn): Correct enable checking failure change XSTR to XTMPL. (process_one_cond_exec): Likewise From-SVN: r44378
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