--- gcc/objc/objects.c 2018/04/24 18:10:16 1.1 +++ gcc/objc/objects.c 2018/04/24 18:20:13 1.1.1.3 @@ -24,6 +24,7 @@ You should have received a copy of the G however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include "../tconfig.h" /* include defs of bzero for target */ #include "runtime.h" /* the kitchen sink */ id __objc_object_alloc(Class*); @@ -42,7 +43,7 @@ class_create_instance(Class* class) new = (*_objc_object_alloc)(class); if (new!=nil) { - bzero (new, class->instance_size); + memset (new, 0, class->instance_size); new->class_pointer = class; } return new;