r125974 - in /trunk/gcc: ChangeLog c-objc-commo...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Sat Jun 23 18:17:00 GMT 2007
Author: rguenth
Date: Sat Jun 23 18:17:57 2007
New Revision: 125974
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125974
Log:
2007-06-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/16876
PR middle-end/29478
* tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag
for CALL_EXPRs.
* tree-inline.c (initialize_inlined_parameters): Do not call
lang_hooks.tree_inlining.convert_parm_for_inlining.
* cgraphbuild.c (initialize_inline_failed): Set inline failed
reason for mismatched types.
* gimplify.c (gimplify_call_expr): Verify the call expression
arguments match the called function type signature. Otherwise
mark the call expression to be not considered for inlining
using CALL_CANNOT_INLINE_P flag.
* ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the
edges call expression.
(cgraph_decide_inlining_of_small_function): Likewise.
(cgraph_decide_inlining): Likewise.
* c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
Remove define.
* c-tree.h (c_convert_parm_for_inlining): Remove declaration.
* c-typeck.c (c_convert_parm_for_inlining): Remove.
* langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining):
Remove declaration.
(LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining):
Remove.
* langhooks.h (struct lang_hooks_for_tree_inlining): Remove
convert_parm_for_inlining member.
* gcc.dg/pr29254.c: The warning is bogus.
* gcc.dg/warn-1.c: Likewise.
* gcc.dg/assign-warn-3.c: Likewise.
* gcc.dg/noncompile/pr16876.c: The testcase is bogus, remove.
Removed:
trunk/gcc/testsuite/gcc.dg/noncompile/pr16876.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-objc-common.h
trunk/gcc/c-tree.h
trunk/gcc/c-typeck.c
trunk/gcc/cgraphbuild.c
trunk/gcc/gimplify.c
trunk/gcc/ipa-inline.c
trunk/gcc/langhooks-def.h
trunk/gcc/langhooks.c
trunk/gcc/langhooks.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/assign-warn-3.c
trunk/gcc/testsuite/gcc.dg/pr29254.c
trunk/gcc/testsuite/gcc.dg/warn-1.c
trunk/gcc/tree-inline.c
trunk/gcc/tree.h
More information about the Gcc-cvs
mailing list