Commit 4be9e9cb by Tom Rix Committed by Tom Rix

Add sanity check to regrename.c.

From-SVN: r52974
parent 1eeeb6a4
2002-04-30 Tom Rix <trix@redhat.com>
* regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
check which_alternative.
2002-04-30 Kazu Hirata <kazu@hxi.com> 2002-04-30 Kazu Hirata <kazu@hxi.com>
* cpplex.c: Fix comment formatting. * cpplex.c: Fix comment formatting.
......
...@@ -786,7 +786,8 @@ build_def_use (bb) ...@@ -786,7 +786,8 @@ build_def_use (bb)
icode = recog_memoized (insn); icode = recog_memoized (insn);
extract_insn (insn); extract_insn (insn);
constrain_operands (1); if (! constrain_operands (1))
fatal_insn_not_found (insn);
preprocess_constraints (); preprocess_constraints ();
alt = which_alternative; alt = which_alternative;
n_ops = recog_data.n_operands; n_ops = recog_data.n_operands;
...@@ -1546,7 +1547,8 @@ copyprop_hardreg_forward_1 (bb, vd) ...@@ -1546,7 +1547,8 @@ copyprop_hardreg_forward_1 (bb, vd)
set = single_set (insn); set = single_set (insn);
extract_insn (insn); extract_insn (insn);
constrain_operands (1); if (! constrain_operands (1))
fatal_insn_not_found (insn);
preprocess_constraints (); preprocess_constraints ();
alt = which_alternative; alt = which_alternative;
n_ops = recog_data.n_operands; n_ops = recog_data.n_operands;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment