Mercurial > hg > CbC > CbC_gcc
comparison gcc/gimplify.c @ 140:4e440907fcbf
copy CbC goto flang in cfgexpand
remove some CbC unnecessary code
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Nov 2018 00:24:45 +0900 |
parents | d34655255c78 |
children | 351920fa3827 |
comparison
equal
deleted
inserted
replaced
138:fc828634a951 | 140:4e440907fcbf |
---|---|
1511 if (VOID_TYPE_P (TREE_TYPE (TREE_TYPE (current_function_decl))) | 1511 if (VOID_TYPE_P (TREE_TYPE (TREE_TYPE (current_function_decl))) |
1512 #ifndef noCbC | 1512 #ifndef noCbC |
1513 || ( ret_expr | 1513 || ( ret_expr |
1514 && TREE_CODE(ret_expr)==CALL_EXPR | 1514 && TREE_CODE(ret_expr)==CALL_EXPR |
1515 && CbC_IS_CbC_GOTO(ret_expr) | 1515 && CbC_IS_CbC_GOTO(ret_expr) |
1516 //&& !CbC_IS_CODE_SEGMENT(TREE_TYPE(current_function_decl))) | |
1517 && !(current_function_decl&&CbC_IS_CODE_SEGMENT(TREE_TYPE(current_function_decl)))) | 1516 && !(current_function_decl&&CbC_IS_CODE_SEGMENT(TREE_TYPE(current_function_decl)))) |
1518 //&& !(current_function_decl&&CbC_IS_CODE_SEGMENT(current_function_decl))) | |
1519 #endif | 1517 #endif |
1520 ) | 1518 ) |
1521 result_decl = NULL_TREE; | 1519 result_decl = NULL_TREE; |
1522 else | 1520 else |
1523 { | 1521 { |