gensupport.c (std_preds): Add missing codes to address_operand entry.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 28 Apr 2015 07:46:40 +0000 (07:46 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 28 Apr 2015 07:46:40 +0000 (07:46 +0000)
gcc/
* gensupport.c (std_preds): Add missing codes to address_operand entry.

From-SVN: r222511

gcc/ChangeLog
gcc/gensupport.c

index 5677eba648c1bdd7b60e115f19f12d2ad4627c57..66d86d9532bc393f51db08f0b34497ce943659f5 100644 (file)
@@ -1,3 +1,7 @@
+2015-04-28  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gensupport.c (std_preds): Add missing codes to address_operand entry.
+
 2015-04-28  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/65851
index 26a09bcbd68700998c060b2c9da82ffe0ead151b..77a72865e7caca9fb63c90067b876914b867fab1 100644 (file)
@@ -2800,7 +2800,8 @@ struct std_pred_table
 
 static const struct std_pred_table std_preds[] = {
   {"general_operand", false, true, {SUBREG, REG, MEM}},
-  {"address_operand", true, true, {SUBREG, REG, MEM, PLUS, MINUS, MULT}},
+  {"address_operand", true, true, {SUBREG, REG, MEM, PLUS, MINUS, MULT,
+                                  ZERO_EXTEND, SIGN_EXTEND, AND}},
   {"register_operand", false, false, {SUBREG, REG}},
   {"pmode_register_operand", true, false, {SUBREG, REG}},
   {"scratch_operand", false, false, {SCRATCH, REG}},