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 (
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.