https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876

--- Comment #12 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Thu Jul 21 19:06:02 2016
New Revision: 238605

URL: https://gcc.gnu.org/viewcvs?rev=238605&root=gcc&view=rev
Log:
016-07-21  Bernd Edlinger  <bernd.edlin...@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c
    trunk/gcc/calls.h
    trunk/gcc/tree-inline.c

Reply via email to