diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-03 18:55:39 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-03 18:55:39 +0000 |
commit | 7551cac6a609944a99fcb8f9298183d4a4b94b93 (patch) | |
tree | a971c8701ec850c54aef462c83b1be2eb78af4f5 /gcc/gimplify.c | |
parent | 35f85a5a902238b9767145455d4751eaec8f9ea2 (diff) | |
download | gcc-7551cac6a609944a99fcb8f9298183d4a4b94b93.tar.gz |
PR debug/37726
* gimplify.c (declare_vars): Use gimple_bind_block instead of
gimple_block.
* gcc.dg/debug/dwarf2/pr37726.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index d723d9f16a9..5123efdf321 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -772,7 +772,7 @@ declare_vars (tree vars, gimple scope, bool debug_info) temps = nreverse (last); - block = gimple_block (scope); + block = gimple_bind_block (scope); gcc_assert (!block || TREE_CODE (block) == BLOCK); if (!block || !debug_info) { |