re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c))
authorJan Hubicka <jh@suse.cz>
Mon, 20 Sep 2004 20:38:29 +0000 (22:38 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 20 Sep 2004 20:38:29 +0000 (20:38 +0000)
commit8f2353433c31121e5ec31f24d70b80c385fb28ff
tree25c6e4482c10189121acfa2bf0f54130a9876b63
parent04161e2bde5dee7dbe9c7863f3cb6f262c8d059c
re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c))

PR middle-end/16460

* cgraph.c (cgraph_unnest_node): New function.
(c_finalize): Rename to ....
(c_warn_unused_result_recursivly): ... this one; do only the warning
(finish_function): Finalize the toplevel function; do not lower nested tree.
* cgraph.h (cgraph_unnest_node): Declare.
* cgraphunit.c (decide_is_function_needed): Do not use cgraph
nestedness datastructure.
* cse.c (cse_insn): Do not cprop nonlocal LABEL_REFs.
* reload1.c (set_label_offsets): Fix call of set_label_offsets.
* tree-nested.c (finlize_nesting_tree_1):  Use un-nesting code.

* utils.c (gnat_finalize): Remove.
(end_subprog_body): Directly call cgraph_finalize_function;
do not lower the nested functions.

* trans-decl.c (build_entry_thunks): Finalize the function; do not lower
tree.
(gfc_generate_function_code): Likewise.

From-SVN: r87770
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/utils.c
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/cse.c
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/reload1.c
gcc/tree-nested.c