re PR middle-end/19583 (Incorrect diagnostic: control may reach end of non-void funct...
commit6737ba67d5250258aa08fa779ddac32f8bca6dfb
authorIan Lance Taylor <ian@c2micro.com>
Thu, 27 Jan 2005 14:36:17 +0000 (27 14:36 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 27 Jan 2005 14:36:17 +0000 (27 14:36 +0000)
treec04e5a0433039c3cd49001e6fc91f301c7470db5
parent9d72d99675ced5b9f02313c05f01de2a8d03b8d8
re PR middle-end/19583 (Incorrect diagnostic: control may reach end of non-void function '...' being inlined)

PR middle-end/19583
* gimple-low.c (try_catch_may_fallthru): New static function.
(block_may_fallthru): Handle TRY_CATCH_EXPR.
* tree-inline.c (expand_call_inline): Don't warn about reaching
the end of a non-void function being inlined if the function uses
a return slot.

From-SVN: r94323
gcc/ChangeLog
gcc/gimple-low.c
gcc/tree-inline.c