re PR tree-optimization/36329 (latent problem with tree inlining)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 26 May 2008 18:23:38 +0000 (18:23 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 May 2008 18:23:38 +0000 (18:23 +0000)
commitba977e1ad972fdad98e39864d12f1d204935af2f
tree160cb158346c46e3b94ea89324a4be86274f11d8
parent4d492420f6e180fbce3e5616cfc10a322f39630c
re PR tree-optimization/36329 (latent problem with tree inlining)

PR tree-optimization/36329
* tree.h (CALL_CANNOT_INLINE_P): Add access check.
* tree-gimple.h (CALL_STMT_CANNOT_INLINE_P): New macro.
* cgraphbuild.c (initialize_inline_failed): Use the latter
macro in lieu of the former.
* ipa-inline.c (cgraph_mark_inline): Likewise.
(cgraph_decide_inlining_of_small_function): Likewise.
(cgraph_decide_inlining): Likewise.
(cgraph_decide_inlining_incrementally): Likewise.

From-SVN: r135954
gcc/ChangeLog
gcc/cgraphbuild.c
gcc/ipa-inline.c
gcc/tree-gimple.h
gcc/tree.h