mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 19:41:06 +08:00
(write_test_expr, case MATCH_DUP): Use operands[N] instead of JUMP_LABEL (which may not be set).
(write_test_expr, case MATCH_DUP): Use operands[N] instead of JUMP_LABEL (which may not be set). (walk_attr_value, case MATCH_DUP): Set must_extract. From-SVN: r9640
This commit is contained in:
parent
005979f2d6
commit
426cd2f4ed
@ -4487,7 +4487,7 @@ write_test_expr (exp, in_comparison)
|
||||
|
||||
/* The address of the branch target. */
|
||||
case MATCH_DUP:
|
||||
printf ("insn_addresses[INSN_UID (JUMP_LABEL (insn))]");
|
||||
printf ("insn_addresses[INSN_UID (operands[%d])]", XINT (exp, 0));
|
||||
break;
|
||||
|
||||
/* The address of the current insn. It would be more consistent with
|
||||
@ -4592,6 +4592,10 @@ walk_attr_value (exp)
|
||||
return;
|
||||
|
||||
case MATCH_DUP:
|
||||
must_extract = 1;
|
||||
address_used = 1;
|
||||
return;
|
||||
|
||||
case PC:
|
||||
address_used = 1;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user