Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-parser.c @ 91:0a063106bba9
modify cbc_finish_labeled_goto:c-parser.c
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 25 Dec 2011 04:17:22 +0900 |
parents | 99e7b6776dd1 |
children | 0b0b0782e795 |
comparison
equal
deleted
inserted
replaced
90:99e7b6776dd1 | 91:0a063106bba9 |
---|---|
6160 * } | 6160 * } |
6161 */ | 6161 */ |
6162 tree tlab; | 6162 tree tlab; |
6163 tree cond; | 6163 tree cond; |
6164 | 6164 |
6165 /* | |
6166 tree cstmt = c_begin_compound_stmt (true); | |
6167 tlab = define_label (loc, label); | |
6168 gcc_assert (tlab); | |
6169 decl_attributes (&tlab, NULL_TREE, 0); | |
6170 add_stmt (build_stmt (loc, LABEL_EXPR, tlab)); | |
6171 | |
6172 tree ret = c_finish_return (loc, retval, retval); //tree ret = c_finish_return (retval); | |
6173 TREE_USED(ret) = 1; | |
6174 tree if_body = c_end_compound_stmt (loc, cstmt, true); | |
6175 TREE_SIDE_EFFECTS (cstmt) = 1; | |
6176 c_finish_if_stmt (loc, cond, if_body, NULL_TREE, false); | |
6177 | |
6178 */ | |
6179 | |
6180 cond = integer_zero_node; | 6165 cond = integer_zero_node; |
6181 tree block_outside = c_begin_compound_stmt (false); | 6166 tree block_outside = c_begin_compound_stmt (false); |
6182 tree block_inside = c_begin_compound_stmt (false); | 6167 tree block_inside = c_begin_compound_stmt (false); |
6183 | 6168 |
6184 tree stmt = c_begin_compound_stmt (true); | 6169 tree stmt = c_begin_compound_stmt (true); |