aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-06-11 16:58:43 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-06-11 16:58:43 +0000
commit3c4c42e826b61d7b99e6be965dd1187784d2228c (patch)
tree973a3ce0efa709d52259fede89af828768a8198a /gcc
parent777e635f1a6cab5d2c6837b1ea903ed0bcbe87d3 (diff)
downloadgcc-3c4c42e826b61d7b99e6be965dd1187784d2228c.zip
gcc-3c4c42e826b61d7b99e6be965dd1187784d2228c.tar.gz
gcc-3c4c42e826b61d7b99e6be965dd1187784d2228c.tar.bz2
recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok, decmem_ok and incmem_ok.
gcc/ * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok, decmem_ok and incmem_ok. Reformat other bitfields for consistency. * recog.c (preprocess_constraints): Update accordingly. From-SVN: r211472
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/recog.c12
-rw-r--r--gcc/recog.h18
3 files changed, 11 insertions, 25 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f79e6ab..95cc4a3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
+ * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
+ decmem_ok and incmem_ok. Reformat other bitfields for consistency.
+ * recog.c (preprocess_constraints): Update accordingly.
+
+2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
+
* system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
(REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
diff --git a/gcc/recog.c b/gcc/recog.c
index 94cdeec..9d9fa77 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2415,18 +2415,6 @@ preprocess_constraints (int n_operands, int n_alternatives,
case TARGET_MEM_CONSTRAINT:
op_alt[i].memory_ok = 1;
break;
- case '<':
- op_alt[i].decmem_ok = 1;
- break;
- case '>':
- op_alt[i].incmem_ok = 1;
- break;
- case 'V':
- op_alt[i].nonoffmem_ok = 1;
- break;
- case 'o':
- op_alt[i].offmem_ok = 1;
- break;
case 'X':
op_alt[i].anything_ok = 1;
break;
diff --git a/gcc/recog.h b/gcc/recog.h
index 2017c85..3008b1d 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -60,25 +60,17 @@ struct operand_alternative
int matched : 8;
/* Nonzero if '&' was found in the constraint string. */
- unsigned int earlyclobber:1;
+ unsigned int earlyclobber : 1;
/* Nonzero if TARGET_MEM_CONSTRAINT was found in the constraint
string. */
- unsigned int memory_ok:1;
- /* Nonzero if 'o' was found in the constraint string. */
- unsigned int offmem_ok:1;
- /* Nonzero if 'V' was found in the constraint string. */
- unsigned int nonoffmem_ok:1;
- /* Nonzero if '<' was found in the constraint string. */
- unsigned int decmem_ok:1;
- /* Nonzero if '>' was found in the constraint string. */
- unsigned int incmem_ok:1;
+ unsigned int memory_ok : 1;
/* Nonzero if 'p' was found in the constraint string. */
- unsigned int is_address:1;
+ unsigned int is_address : 1;
/* Nonzero if 'X' was found in the constraint string, or if the constraint
string for this alternative was empty. */
- unsigned int anything_ok:1;
+ unsigned int anything_ok : 1;
- unsigned int unused : 8;
+ unsigned int unused : 12;
};
/* Return the class for operand I of alternative ALT, taking matching