diff options
author | David Ayers <d.ayers@inode.at> | 2006-01-24 22:57:22 +0100 |
---|---|---|
committer | David Ayers <ayers@gcc.gnu.org> | 2006-01-24 21:57:22 +0000 |
commit | 8c3e5222e3716a8986ce0ece0f1237aa17a36ee3 (patch) | |
tree | 85fe1b7ee2078b5f5f57e2e3ff58875538077a45 /libobjc/gc.c | |
parent | 18cbfd85b2bc95e46a7f71eb491dde7eee89e086 (diff) | |
download | gcc-8c3e5222e3716a8986ce0ece0f1237aa17a36ee3.zip gcc-8c3e5222e3716a8986ce0ece0f1237aa17a36ee3.tar.gz gcc-8c3e5222e3716a8986ce0ece0f1237aa17a36ee3.tar.bz2 |
re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)
2006-01-24 David Ayers <d.ayers@inode.at>
PR libobjc/13946
* configure.ac: Add include directives for --enable-objc-gc.
* Makefile.in: Ditto.
* configure: Regenerate.
* gc.c (__objc_class_structure_encoding): Increment the used bytes
instead of the local pointer to them.
From-SVN: r110182
Diffstat (limited to 'libobjc/gc.c')
-rw-r--r-- | libobjc/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/gc.c b/libobjc/gc.c index 9bb11fc..399d1aa 100644 --- a/libobjc/gc.c +++ b/libobjc/gc.c @@ -1,5 +1,5 @@ /* Basic data types for Objective C. - Copyright (C) 1998, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. Contributed by Ovidiu Predescu. This file is part of GCC. @@ -250,7 +250,7 @@ __objc_class_structure_encoding (Class class, char **type, int *size, if (! class) { strcat (*type, "{"); - *current++; + (*current)++; return; } |