diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-31 17:43:12 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-12-31 17:43:12 -0800 |
commit | 78e0d62b95e1706a1243f3067da2e487c2d4a7e9 (patch) | |
tree | af4745888545dece3278b75f28dd04b661c44e61 /gcc/tree-inline.c | |
parent | 8bcccf30f11402a06d0a9abda915f97c0798ef4f (diff) | |
download | gcc-78e0d62b95e1706a1243f3067da2e487c2d4a7e9.zip gcc-78e0d62b95e1706a1243f3067da2e487c2d4a7e9.tar.gz gcc-78e0d62b95e1706a1243f3067da2e487c2d4a7e9.tar.bz2 |
re PR middle-end/17799 (Non-optimizing compile loses 'this')
PR middle-end/17799
* function.c (use_register_for_decl): Check DECL_IGNORED_P instead
of DECL_ARTIFICIAL.
(assign_parms_augmented_arg_list): Set DECL_IGNORED_P.
* c-decl.c (build_compound_literal): Likewise.
* dwarf2asm.c (dw2_force_const_mem): Likewise.
* gimplify.c (create_artificial_label): Likewise.
* tree-inline.c (expand_call_inline): Likewise.
* var-tracking.c (vt_initialize): Likewise.
* tree-outof-ssa.c (create_temp): Copy DECL_IGNORED_P.
cp/
* call.c (make_temporary_var_for_ref_to_temp): Set DECL_IGNORED_P.
* class.c (build_vtable): Don't conditionallize setting it
based on DWARF2_DEBUG.
(layout_class_type): Set DECL_IGNORED_P.
* decl2.c (get_guard): Likewise.
* rtti.c (get_tinfo_decl, build_lang_decl): Likewise.
* tree.c (build_local_temp): Likewise.
From-SVN: r92781
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 3ba728b..8f3e161 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1569,6 +1569,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data) to the RET_LABEL. */ id->ret_label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); DECL_ARTIFICIAL (id->ret_label) = 1; + DECL_IGNORED_P (id->ret_label) = 1; DECL_CONTEXT (id->ret_label) = VARRAY_TREE (id->fns, 0); insert_decl_map (id, id->ret_label, id->ret_label); |