016-07-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 21 Jul 2016 19:06:02 +0000 (19:06 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 21 Jul 2016 19:06:02 +0000 (19:06 +0000)
commit159e8ef0c6673f73ab33ba86dd13652dfdae342c
treece852e8aeab3c5945be947a5e82a7a2fe2b2bca3
parentdf26a50d0d0665879975138bfe4f05285b2fadae
016-07-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/71876
        * calls.c (gimple_maybe_alloca_call_p): New function.  Return true
        if STMT may be an alloca call.
        (gimple_alloca_call_p, alloca_call_p): Return only true for the
        builtin alloca call.
        * calls.h (gimple_maybe_alloca_call_p): New function.
        * tree-inline.c (inline_forbidden_p_stmt): Use
        gimple_maybe_alloca_call_p here.

From-SVN: r238605
gcc/ChangeLog
gcc/calls.c
gcc/calls.h
gcc/tree-inline.c