aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-02-02 00:14:41 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-02-02 00:14:41 +0000
commitdfd48d76f76f8e2e0a973e93f0d96f18bd827476 (patch)
treea1c4390a7d9e71c0473bdd89244fde668272cb52 /gcc/tree.c
parent4a23409e6f5915715f8831b28f3b72b3ce69c3bc (diff)
downloadgcc-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.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 76b341a..86c0cd0 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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.