Mercurial > hg > CbC > CbC_gcc
changeset 141:ce508c72660f
copy cbc flang in cfgexpand
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Nov 2018 19:44:39 +0900 |
parents | 4e440907fcbf |
children | c83ff0b5a2ed |
files | CbC-examples/c-next.c gcc/cfgexpand.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CbC-examples/c-next.c Wed Nov 14 00:24:45 2018 +0900 +++ b/CbC-examples/c-next.c Thu Nov 22 19:44:39 2018 +0900 @@ -56,7 +56,6 @@ __code cbc_next(INTERP i){ __code (*c)(INTERP); c = CODES[NEXT_OP(i)]; - //c(i); goto c(i); }
--- a/gcc/cfgexpand.c Wed Nov 14 00:24:45 2018 +0900 +++ b/gcc/cfgexpand.c Thu Nov 22 19:44:39 2018 +0900 @@ -2680,7 +2680,9 @@ if (gimple_no_warning_p (stmt)) TREE_NO_WARNING (exp) = 1; +#ifndef noCbC CbC_IS_CbC_GOTO (exp) = gimple_call_cbc_goto_p(stmt); +#endif CALL_EXPR_TAILCALL (exp) = gimple_call_tail_p (stmt); CALL_EXPR_MUST_TAIL_CALL (exp) = gimple_call_must_tail_p (stmt); CALL_EXPR_RETURN_SLOT_OPT (exp) = gimple_call_return_slot_opt_p (stmt);