diff options
Diffstat (limited to 'contrib/gcc/c-convert.c')
-rw-r--r-- | contrib/gcc/c-convert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc/c-convert.c b/contrib/gcc/c-convert.c index b2b5ea1..b13a713 100644 --- a/contrib/gcc/c-convert.c +++ b/contrib/gcc/c-convert.c @@ -104,6 +104,10 @@ convert (tree type, tree expr) return fold_convert (type, c_objc_common_truthvalue_conversion (expr)); if (code == POINTER_TYPE || code == REFERENCE_TYPE) return fold (convert_to_pointer (type, e)); + /* APPLE LOCAL begin blocks (C++ ck) */ + if (code == BLOCK_POINTER_TYPE) + return fold (convert_to_block_pointer (type, e)); + /* APPLE LOCAL end blocks (C++ ck) */ if (code == REAL_TYPE) return fold (convert_to_real (type, e)); if (code == COMPLEX_TYPE) |