From: David Edelsohn Date: Mon, 19 Mar 2001 21:05:03 +0000 (+0000) Subject: * encoding.c (TYPE_MODE): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=120d59bfb9e5e05c36f097ae4c3de72c78d370e5;p=gcc.git * encoding.c (TYPE_MODE): Define. From-SVN: r40633 --- diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index c53b3a5b913..30f0ab0e446 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 David Edelsohn + + * encoding.c (TYPE_MODE): Define. + 2001-03-14 Nicola Pero * thr.c (objc_thread_add): New function. diff --git a/libobjc/encoding.c b/libobjc/encoding.c index bbbb81cdb8b..a87f981e8eb 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -46,8 +46,8 @@ Boston, MA 02111-1307, USA. */ /* Various hacks for objc_layout_record. These are used by the target macros. */ -#define TREE_CODE(TYPE) *TYPE -#define TREE_TYPE(TREE) TREE +#define TREE_CODE(TYPE) *(TYPE) +#define TREE_TYPE(TREE) (TREE) #define RECORD_TYPE _C_STRUCT_B #define UNION_TYPE _C_UNION_B @@ -56,7 +56,8 @@ Boston, MA 02111-1307, USA. */ #define TYPE_FIELDS(TYPE) objc_skip_typespec (TYPE) -#define DECL_MODE(TYPE) *(TYPE) +#define DECL_MODE(TYPE) *(TYPE) +#define TYPE_MODE(TYPE) *(TYPE) #define DFmode _C_DBL