From 5b097d1dbd061bb1b859891d7d8149ff940e5e70 Mon Sep 17 00:00:00 2001 From: nicola Date: Mon, 27 Sep 2010 20:10:34 +0000 Subject: [PATCH] Fixed typo in my last commit which would break bootstrap git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164667 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/objc/objc-act.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 101f9fc..2752833 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -8136,15 +8136,17 @@ encode_array (tree type, int curtype, int format) NB: This hack assumes that you can't use '=' as part of a C identifier. */ - char *enc = obstack_base (&util_obstack) + curtype; - if (memchr (enc, '=', - obstack_object_size (&util_obstack) - curtype) == NULL) - { - /* We are not inside a struct. Encode the array as a - pointer. */ - encode_pointer (type, curtype, format); - return; - } + { + char *enc = obstack_base (&util_obstack) + curtype; + if (memchr (enc, '=', + obstack_object_size (&util_obstack) - curtype) == NULL) + { + /* We are not inside a struct. Encode the array as a + pointer. */ + encode_pointer (type, curtype, format); + return; + } + } /* Else, we are in a struct, and we encode it as a zero-length array. */ -- 2.7.4