diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-02 05:44:38 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-02 05:44:38 +0000 |
commit | e81986abbb09686debad9198b240245ff75fc0f2 (patch) | |
tree | 2249a079ddd3d9c2bf0321b4a86aa087da1d7a9d /gcc/tree-inline.c | |
parent | 9221ec44e8429334e08c67adc351a7b246f1c120 (diff) | |
download | gcc-e81986abbb09686debad9198b240245ff75fc0f2.tar.gz |
PR debug/47106
PR debug/47402
* tree-inline.c (declare_return_variable): Add result decl to
local decls only once.
* gimple-low.c (record_vars_into): Mark newly-created variables
as referenced.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 24a6dd02373..0a10df70422 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -2864,7 +2864,6 @@ declare_return_variable (copy_body_data *id, tree return_slot, tree modify_dest, } DECL_SEEN_IN_BIND_EXPR_P (var) = 1; - add_local_decl (DECL_STRUCT_FUNCTION (caller), var); /* Do not have the rest of GCC warn about this variable as it should not be visible to the user. */ |