Commit 41a961e9 by Eric Botcazou Committed by Eric Botcazou

Fix typo

From-SVN: r161465
parent d860c842
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
(gnu_switch_label_stack): Delete. (gnu_switch_label_stack): Delete.
(Case_Statement_to_gnu): Do not emit the goto at the end of a case if (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 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). * gcc-interface/Make-lang.in (ada/trans.o): Add $(TREE_FLOW_H).
2010-06-23 Thomas Quinot <quinot@adacore.com> 2010-06-23 Thomas Quinot <quinot@adacore.com>
......
...@@ -2022,7 +2022,7 @@ Case_Statement_to_gnu (Node_Id gnat_node) ...@@ -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) if (may_fallthru)
add_stmt (build1 (LABEL_EXPR, void_type_node, gnu_label)); add_stmt (build1 (LABEL_EXPR, void_type_node, gnu_label));
gnu_result = build3 (SWITCH_EXPR, TREE_TYPE (gnu_expr), gnu_expr, gnu_result = build3 (SWITCH_EXPR, TREE_TYPE (gnu_expr), gnu_expr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment