From-SVN: r161465
This commit is contained in:
Eric Botcazou 2010-06-27 10:59:55 +00:00 committed by Eric Botcazou
parent d860c8424c
commit 41a961e991
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
(gnu_switch_label_stack): Delete.
(Case_Statement_to_gnu): Do not emit the goto at the end of a case if
its associated block cannot fall through. Do not emit the final label
if no cases branche to it.
if no cases branch to it.
* gcc-interface/Make-lang.in (ada/trans.o): Add $(TREE_FLOW_H).
2010-06-23 Thomas Quinot <quinot@adacore.com>

View File

@ -2022,7 +2022,7 @@ Case_Statement_to_gnu (Node_Id gnat_node)
}
}
/* Now emit a definition of the label the cases branche to, if any. */
/* Now emit a definition of the label the cases branch to, if any. */
if (may_fallthru)
add_stmt (build1 (LABEL_EXPR, void_type_node, gnu_label));
gnu_result = build3 (SWITCH_EXPR, TREE_TYPE (gnu_expr), gnu_expr,