genemit.c (gen_exp): Remove ADDRESS handling.

gcc/
	* genemit.c (gen_exp): Remove ADDRESS handling.
	* genoutput.c (scan_operands): Likewise.
	* genpeep.c (match_rtx): Likewise.
	* genrecog.c (add_to_sequence): Likewise.

From-SVN: r186503
This commit is contained in:
Richard Sandiford 2012-04-16 18:52:05 +00:00 committed by Richard Sandiford
parent a0bc8f9c28
commit 6b338d0ac4
5 changed files with 7 additions and 16 deletions

View File

@ -1,3 +1,10 @@
2012-04-16 Richard Sandiford <rdsandiford@googlemail.com>
* genemit.c (gen_exp): Remove ADDRESS handling.
* genoutput.c (scan_operands): Likewise.
* genpeep.c (match_rtx): Likewise.
* genrecog.c (add_to_sequence): Likewise.
2012-04-16 David Edelsohn <dje.gcc@gmail.com>
* doc/install.texi (Specific, *-ibm-aix*): Update assembler bug

View File

@ -160,9 +160,6 @@ gen_exp (rtx x, enum rtx_code subroutine_type, char *used)
gen_rtx_scratch (x, subroutine_type);
return;
case ADDRESS:
fatal ("ADDRESS expression code used in named instruction pattern");
case PC:
printf ("pc_rtx");
return;

View File

@ -510,10 +510,6 @@ scan_operands (struct data *d, rtx part, int this_address_p,
scan_operands (d, XVECEXP (part, 2, i), 0, 0);
return;
case ADDRESS:
scan_operands (d, XEXP (part, 0), 1, 0);
return;
case STRICT_LOW_PART:
scan_operands (d, XEXP (part, 0), 0, 1);
return;

View File

@ -231,10 +231,6 @@ match_rtx (rtx x, struct link *path, int fail_label)
}
return;
case ADDRESS:
match_rtx (XEXP (x, 0), path, fail_label);
return;
default:
break;
}

View File

@ -687,7 +687,6 @@ add_to_sequence (rtx pattern, struct decision_head *last,
sub = this_decision = new_decision (pos, last);
place = &this_decision->tests;
restart:
mode = GET_MODE (pattern);
code = GET_CODE (pattern);
@ -854,10 +853,6 @@ add_to_sequence (rtx pattern, struct decision_head *last,
test->u.dup = XINT (pattern, 0);
goto fini;
case ADDRESS:
pattern = XEXP (pattern, 0);
goto restart;
default:
break;
}