diff options
Diffstat (limited to 'inline.c')
-rw-r--r-- | inline.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -155,6 +155,8 @@ static struct expression * copy_expression(struct expression *expr) /* Cast/sizeof/__alignof__ */ case EXPR_CAST: + if (!expr->cast_expression) + return NULL; if (expr->cast_expression->type == EXPR_INITIALIZER) { struct expression *cast = expr->cast_expression; struct symbol *sym = expr->cast_type; |