genemit.c (gen_exp): Remove ADDRESS handling.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 16 Apr 2012 18:52:05 +0000 (18:52 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 16 Apr 2012 18:52:05 +0000 (18:52 +0000)
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

gcc/ChangeLog
gcc/genemit.c
gcc/genoutput.c
gcc/genpeep.c
gcc/genrecog.c

index 70bb606a2ab0511195694b8bfdbac650ff7665ad..29193e325813cb82f51bdfdbdabb1e7fd7a24c51 100644 (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
index 173e4d30ab2cb4932c96e0026dc80ecb5dc7b59c..91025e24d8839a67fed9fe01864bdcd17e08b284 100644 (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;
index bc41b7bc7f581fb5e65a9917dcdcb14ba944595d..bae2381c9aa2d642eb35b49f8cc67c31375d4468 100644 (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;
index ac08d80d5562aca0e2fb427e8cef014b4578752a..a6f1033eada52d2897ad7f9b59ecbaa438da8a6b 100644 (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;
     }
index 0d8be8f760733a7d61c32472659e6b3507a06092..9ce5106db2fb6afd5a7f59c8ed49790c10ba3354 100644 (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;
     }