summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-20 20:38:29 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-20 20:38:29 +0000
commit9d95b2b0274da8229a9c7961422e0f7d44d714fd (patch)
tree25c6e4482c10189121acfa2bf0f54130a9876b63 /gcc/reload1.c
parentb71b0310532ccb4edefc4326ed8ff7d945b57df4 (diff)
downloadgcc-9d95b2b0274da8229a9c7961422e0f7d44d714fd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index c63d418b39c..052acc092ff 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -2185,7 +2185,7 @@ set_label_offsets (rtx x, rtx insn, int initial_p)
return;
case LABEL_REF:
- set_label_offsets (XEXP (SET_SRC (x), 0), insn, initial_p);
+ set_label_offsets (SET_SRC (x), insn, initial_p);
return;
case IF_THEN_ELSE: