gimple-low.c (lower_stmt): If the call is noreturn, remove a subsequent GOTO or RETUR...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 17 Oct 2009 22:17:26 +0000 (22:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 17 Oct 2009 22:17:26 +0000 (22:17 +0000)
commit79ddec0279508bee9a68b640a9633d874b06ac4a
tree81ce085b12daef47f014b038c52ac8126ff9fa54
parent7e90b362e1d82c1e87c4ca010195cab28ddb5f57
gimple-low.c (lower_stmt): If the call is noreturn, remove a subsequent GOTO or RETURN statement.

* gimple-low.c (lower_stmt) <GIMPLE_CALL>: If the call is noreturn,
remove a subsequent GOTO or RETURN statement.

From-SVN: r152959
gcc/ChangeLog
gcc/gimple-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/noreturn1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/noreturn1.ads [new file with mode: 0644]