diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-02-02 00:14:41 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-02-02 00:14:41 +0000 |
commit | dfd48d76f76f8e2e0a973e93f0d96f18bd827476 (patch) | |
tree | a1c4390a7d9e71c0473bdd89244fde668272cb52 /gcc/tree.c | |
parent | 4a23409e6f5915715f8831b28f3b72b3ce69c3bc (diff) | |
download | gcc-dfd48d76f76f8e2e0a973e93f0d96f18bd827476.zip gcc-dfd48d76f76f8e2e0a973e93f0d96f18bd827476.tar.gz gcc-dfd48d76f76f8e2e0a973e93f0d96f18bd827476.tar.bz2 |
c-decl.c, [...]: Revert bitfield patch.
* c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
patch.
* gcc.dg/bitfld-1.c: Update.
* gcc.dg/bitfld-2.c: Update.
* gcc.c-torture/execute/bitfld-1.x: New.
From-SVN: r49420
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -3758,29 +3758,6 @@ build_index_type (maxval) return itype; } -/* Builds a signed or unsigned integer type of precision PRECISION. - Used for C bitfields whose precision does not match that of - built-in target types. */ -tree -build_nonstandard_integer_type (precision, unsignedp) - unsigned int precision; - int unsignedp; -{ - tree itype = make_node (INTEGER_TYPE); - - TYPE_PRECISION (itype) = precision; - - if (unsignedp) - fixup_unsigned_type (itype); - else - fixup_signed_type (itype); - - if (host_integerp (TYPE_MAX_VALUE (itype), 1)) - return type_hash_canon (tree_low_cst (TYPE_MAX_VALUE (itype), 1), itype); - - return itype; -} - /* Create a range of some discrete type TYPE (an INTEGER_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, or CHAR_TYPE), with low bound LOWVAL and high bound HIGHVAL. |