summaryrefslogtreecommitdiff
path: root/gcc/cp/mangle.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-04 00:51:51 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-04 00:51:51 +0000
commit12717da42afc5efcba2d28e94df5789605b91da9 (patch)
treefbc4334b70edd89cfbec4ff262641228cba69206 /gcc/cp/mangle.c
parent7f0a88ab0d5efb99fdf48bbec7487953e1dd587a (diff)
downloadgcc-12717da42afc5efcba2d28e94df5789605b91da9.tar.gz
* call.c (build_op_delete_call): Test user-visible type against
size_type_node, instead of against the internal type, sizetype. * class.c (type_requires_array_cookie): Likewise. * mangle.c (write_builtin_type) <INTEGER_TYPE>: Remove special handling of TYPE_IS_SIZETYPE. * typeck.c (type_after_usual_arithmetic_conversions): Remove special case handling of TYPE_IS_SIZETYPE. (comptypes): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118472 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r--gcc/cp/mangle.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 74ff8543eb4..5b8d338e910 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -1732,10 +1732,6 @@ write_builtin_type (tree type)
break;
case INTEGER_TYPE:
- /* If this is size_t, get the underlying int type. */
- if (TYPE_IS_SIZETYPE (type))
- type = TYPE_DOMAIN (type);
-
/* TYPE may still be wchar_t, since that isn't in
integer_type_nodes. */
if (type == wchar_type_node)