cast block expressions

This commit is contained in:
Bill Currie 2004-02-04 06:41:07 +00:00
parent d02b0686b1
commit 8a14e30896

View file

@ -150,6 +150,7 @@ convert_to_float (expr_t *e)
case ex_expr:
case ex_uexpr:
case ex_temp:
case ex_block:
return cast_expr (&type_float, e);
default:
internal_error (e);
@ -646,6 +647,7 @@ convert_to_uinteger (expr_t *e)
case ex_expr:
case ex_uexpr:
case ex_temp:
case ex_block:
return cast_expr (&type_uinteger, e);
default:
internal_error (e);