aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-stmt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-02-12 19:09:59 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-02-12 19:09:59 +0100
commit12d0d3581b0acf77d6cb57b6e77eaf92e0413b78 (patch)
tree643380c28cfaa4e5d03935806d8323e6c7214b68 /gcc/fortran/trans-stmt.c
parent40595b8e01bd43d5c58b5fbf0abed1f30419aed3 (diff)
downloadgcc-12d0d3581b0acf77d6cb57b6e77eaf92e0413b78.zip
gcc-12d0d3581b0acf77d6cb57b6e77eaf92e0413b78.tar.gz
gcc-12d0d3581b0acf77d6cb57b6e77eaf92e0413b78.tar.bz2
re PR debug/55541 (unable to see local variables due extra lexical block was generated)
PR debug/55541 * cp-tree.h (BLOCK_OUTER_CURLY_BRACE_P): Define. * decl.c (poplevel): If functionbody, try not to create an extra BLOCK for function body and use subblocks as that, if it is non-NULL and doesn't have siblings. Set BLOCK_OUTER_CURLY_BRACE_P flag. (outer_curly_brace_block): Use BLOCK_OUTER_CURLY_BRACE_P flag. * g++.dg/debug/dwarf2/localclass3.C: Adjust for the extraneous DW_TAG_lexical_block removal. * g++.dg/debug/dwarf2/redeclaration-1.C: Likewise. * g++.dg/guality/pr55541.C: New test. From-SVN: r220650
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
0 files changed, 0 insertions, 0 deletions