This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r140944 - in /trunk/gcc: ChangeLog dwarf2out.c ...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 07 Oct 2008 18:14:17 -0000
- Subject: r140944 - in /trunk/gcc: ChangeLog dwarf2out.c ...
Author: jakub
Date: Tue Oct 7 18:14:16 2008
New Revision: 140944
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140944
Log:
PR debug/37738
* dwarf2out.c (common_block_die_table): New variable.
(common_block_die_table_hash, common_block_die_table_eq): New
functions.
(gen_variable_die): Look up a DW_TAG_common_block die for a particular
COMMON block in the current scope rather than globally. Optimize
DW_OP_addr SYMBOL_REF DW_OP_plus_uconst off into
DW_OP_addr SYMBOL_REF+off.
* gfortran.dg/debug/pr37738.f: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/debug/pr37738.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog