[Bug libobjc/61332] libobjc unsafe malloc use instead objc_malloc

2014-05-27 Thread max at cert dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61332 --- Comment #2 from Maksymilian A --- It seems that we have two problems here: 1 The first is memory allocation without GC_malloc (when GC used) 2 If OBJC_WITH_GC is not definied, objc_malloc() also check result of malloc() - objc_malloc (

[Bug libobjc/61332] libobjc unsafe malloc use instead objc_malloc

2014-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61332 --- Comment #1 from Andrew Pinski --- The difference between malloc and objc_malloc is minor when not using GC. In fact the program will crash is malloc returns NULL anyways.