[Bug tree-optimization/37315] [4.4 Regression]: gcc.c-torture/execute/931018-1.c int-compare.c ieee/inf-2.c mzero6.c
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 3 18:19:00 GMT 2008
------- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-03 18:17 -------
Subject: Bug 37315
Author: hubicka
Date: Wed Sep 3 18:16:26 2008
New Revision: 139945
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139945
Log:
PR tree-optimization/37315
* cgraph.c (cgraph_create_edge): Use gimple_has_body_p.
* cgraphunit.c (verify_cgraph_node): drop gimple_body check.
(cgraph_analyze_functions): Use node->analyzed
(cgraph_mark_functions_to_output): Likewise.
(cgraph_expand_function): All functions can be released after
expanding.
(cgraph_optimize): Use gimple_has_body_p.
* ipa-inline.c (cgraph_clone_inlined_nodes): Use analyzed flag.
(cgraph_decide_inlining_incrementally): Likewise.
(inline_transform): Inline transform.
* tree-inline.c (initialize_cfun): Do now shallow copy structure;
copy fields needed.
(inlinable_function_p): Drop gimple_body check.
(expand_call_inline): Use gimple_has_body_p.
* gimple.c (gimple_has_body_p): New.
* gimple.h (gimple_has_body_p): Add prototype.
* tree-cfg.c (execute_build_cfg): Remove gimple_body.
(dump_function_to_file): Use gimple_has_body_p check.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/cgraphunit.c
trunk/gcc/gimple.c
trunk/gcc/gimple.h
trunk/gcc/ipa-inline.c
trunk/gcc/tree-cfg.c
trunk/gcc/tree-inline.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37315
More information about the Gcc-bugs
mailing list