trans.c: Include tree-flow.h.
commit83e279c4c3fee56680e63abd25fcd1a1429fa8dc
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 27 Jun 2010 08:47:23 +0000 (27 08:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 27 Jun 2010 08:47:23 +0000 (27 08:47 +0000)
tree61e0c9b35ca04cd394033069bfe029ae4c1e100a
parent7ed979b918d8f34e58463d0118f333c45775169b
trans.c: Include tree-flow.h.

* gcc-interface/trans.c: Include tree-flow.h.
(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.
* gcc-interface/Make-lang.in (ada/trans.o): Add $(TREE_FLOW_H).

From-SVN: r161461
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Make-lang.in
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/noreturn3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/noreturn3.ads [new file with mode: 0644]