Mercurial > hg > CbC > CbC_gcc
diff gcc/c-parser.c @ 59:5b5b9ea5b220
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Feb 2010 17:22:24 +0900 |
parents | 326d9e06c2e3 |
children | 60c1b2f8487a |
line wrap: on
line diff
--- a/gcc/c-parser.c Mon Feb 15 14:58:24 2010 +0900 +++ b/gcc/c-parser.c Mon Feb 15 17:22:24 2010 +0900 @@ -3950,7 +3950,7 @@ CbC_IS_CbC_GOTO (expr.value) = 1; CALL_EXPR_TAILCALL (expr.value) = 1; add_stmt(expr.value); - stmt = c_finish_return(loc, expr.value, expr.original_type); /* stmt = c_finish_return (0); */ + stmt = c_finish_return(loc, NULL_TREE, NULL_TREE); /* stmt = c_finish_return (0); */ } else c_parser_error (parser, "expected code segment jump or %<*%>"); @@ -6010,7 +6010,7 @@ c_parser_peek_token (parser)->location);*/ loc = c_parser_peek_token (parser)->location; tree env_tree = build_external_ref (loc, - get_identifier ("__builtin_frame_address"), 0, NULL); + get_identifier ("__builtin_frame_address"), 0, &expr.original_type); expr.value = build_function_call(loc, env_tree, build_tree_list (NULL_TREE, build_int_cst (NULL_TREE,0))); expr.original_code = ERROR_MARK;