diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-06 22:49:39 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-06 22:49:39 +0000 |
commit | ebcb0478f63df3012e75bcf2762b557ce36c1590 (patch) | |
tree | 645eb9edc055f339bd8caceb0c87f633d148625c /gcc/tree-dfa.c | |
parent | 6d92fc03fe1a91bba58981f664a94488ad83f8ef (diff) | |
download | gcc-ebcb0478f63df3012e75bcf2762b557ce36c1590.tar.gz |
PR debug/39372
* dwarf2out.c (add_abstract_origin_attribute): Return
origin_die.
(gen_variable_die): Emit DW_AT_location on abstract static variable's
DIE, don't emit it if abstract origin already has it.
* tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
* g++.dg/debug/dwarf2/static-local-var-in-ctor.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dfa.c')
0 files changed, 0 insertions, 0 deletions