From: Richard Stallman Date: Sun, 6 Jun 1993 22:55:40 +0000 (+0000) Subject: (encode_type): Add cases for DImode, encoded as 'q' and 'Q' respectively. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e287a52ca0ae47fcd3aa242a85d07de91727839f;p=gcc.git (encode_type): Add cases for DImode, encoded as 'q' and 'Q' respectively. From-SVN: r4643 --- diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index fbec4d313c1..a307b336be6 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -6073,7 +6073,8 @@ encode_type (type, curtype, format) if (code == INTEGER_TYPE) { - if (TREE_INT_CST_LOW (TYPE_MIN_VALUE (type)) == 0) + if (TREE_INT_CST_LOW (TYPE_MIN_VALUE (type)) == 0 + && TREE_INT_CST_HIGH (TYPE_MIN_VALUE (type)) == 0) { /* unsigned integer types */ @@ -6088,6 +6089,8 @@ encode_type (type, curtype, format) else obstack_1grow (&util_obstack, 'I'); /* 'I' */ } + else if (TYPE_MODE (type) == DImode) /* 'Q' */ + obstack_1grow (&util_obstack, 'Q'); } else /* signed integer types */ { @@ -6102,6 +6105,8 @@ encode_type (type, curtype, format) else obstack_1grow (&util_obstack, 'i'); /* 'i' */ } + else if (TYPE_MODE (type) == DImode) /* 'q' */ + obstack_1grow (&util_obstack, 'q'); } } else if (code == REAL_TYPE)