diff options
Diffstat (limited to 'contrib/gcc/calls.c')
-rw-r--r-- | contrib/gcc/calls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/calls.c b/contrib/gcc/calls.c index aa272df..ffed41d 100644 --- a/contrib/gcc/calls.c +++ b/contrib/gcc/calls.c @@ -2051,7 +2051,8 @@ expand_call (tree exp, rtx target, int ignore) /* Operand 0 is a pointer-to-function; get the type of the function. */ funtype = TREE_TYPE (addr); - gcc_assert (POINTER_TYPE_P (funtype)); + /* APPLE LOCAL blocks */ + gcc_assert (POINTER_TYPE_P (funtype) || TREE_CODE (funtype) == BLOCK_POINTER_TYPE); funtype = TREE_TYPE (funtype); /* Munge the tree to split complex arguments into their imaginary |