diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-03-06 23:49:39 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-03-06 23:49:39 +0100 |
commit | 9f0e7885bb87904aac629a6c9aa3df4156667c08 (patch) | |
tree | 645eb9edc055f339bd8caceb0c87f633d148625c /gcc/tree-flow.h | |
parent | 3b664bd1dab8cf90edd168913e8bf50bb262343a (diff) | |
download | gcc-9f0e7885bb87904aac629a6c9aa3df4156667c08.tar.gz |
re PR debug/39372 (Missing DW_AT_location for constructor static variable)
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.
From-SVN: r144682
Diffstat (limited to 'gcc/tree-flow.h')
0 files changed, 0 insertions, 0 deletions