This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36329] latent problem with tree inlining
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2008 18:24:26 -0000
- Subject: [Bug tree-optimization/36329] latent problem with tree inlining
- References: <bug-36329-226@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-05-26 18:24 -------
Subject: Bug 36329
Author: ebotcazou
Date: Mon May 26 18:23:38 2008
New Revision: 135954
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135954
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphbuild.c
trunk/gcc/ipa-inline.c
trunk/gcc/tree-gimple.h
trunk/gcc/tree.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36329