Commit 6b338d0a by Richard Sandiford Committed by Richard Sandiford

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
parent a0bc8f9c
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> 2012-04-16 David Edelsohn <dje.gcc@gmail.com>
* doc/install.texi (Specific, *-ibm-aix*): Update assembler bug * doc/install.texi (Specific, *-ibm-aix*): Update assembler bug
......
...@@ -160,9 +160,6 @@ gen_exp (rtx x, enum rtx_code subroutine_type, char *used) ...@@ -160,9 +160,6 @@ gen_exp (rtx x, enum rtx_code subroutine_type, char *used)
gen_rtx_scratch (x, subroutine_type); gen_rtx_scratch (x, subroutine_type);
return; return;
case ADDRESS:
fatal ("ADDRESS expression code used in named instruction pattern");
case PC: case PC:
printf ("pc_rtx"); printf ("pc_rtx");
return; return;
......
...@@ -510,10 +510,6 @@ scan_operands (struct data *d, rtx part, int this_address_p, ...@@ -510,10 +510,6 @@ scan_operands (struct data *d, rtx part, int this_address_p,
scan_operands (d, XVECEXP (part, 2, i), 0, 0); scan_operands (d, XVECEXP (part, 2, i), 0, 0);
return; return;
case ADDRESS:
scan_operands (d, XEXP (part, 0), 1, 0);
return;
case STRICT_LOW_PART: case STRICT_LOW_PART:
scan_operands (d, XEXP (part, 0), 0, 1); scan_operands (d, XEXP (part, 0), 0, 1);
return; return;
......
...@@ -231,10 +231,6 @@ match_rtx (rtx x, struct link *path, int fail_label) ...@@ -231,10 +231,6 @@ match_rtx (rtx x, struct link *path, int fail_label)
} }
return; return;
case ADDRESS:
match_rtx (XEXP (x, 0), path, fail_label);
return;
default: default:
break; break;
} }
......
...@@ -687,7 +687,6 @@ add_to_sequence (rtx pattern, struct decision_head *last, ...@@ -687,7 +687,6 @@ add_to_sequence (rtx pattern, struct decision_head *last,
sub = this_decision = new_decision (pos, last); sub = this_decision = new_decision (pos, last);
place = &this_decision->tests; place = &this_decision->tests;
restart:
mode = GET_MODE (pattern); mode = GET_MODE (pattern);
code = GET_CODE (pattern); code = GET_CODE (pattern);
...@@ -854,10 +853,6 @@ add_to_sequence (rtx pattern, struct decision_head *last, ...@@ -854,10 +853,6 @@ add_to_sequence (rtx pattern, struct decision_head *last,
test->u.dup = XINT (pattern, 0); test->u.dup = XINT (pattern, 0);
goto fini; goto fini;
case ADDRESS:
pattern = XEXP (pattern, 0);
goto restart;
default: default:
break; break;
} }
......
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