------- Comment #5 from jakub at gcc dot gnu dot org 2010-05-25 16:16 ------- Subject: Bug 42801
Author: jakub Date: Tue May 25 16:15:38 2010 New Revision: 159826 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159826 Log: PR debug/42801 * tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here... (copy_bind_expr): ... instead of here. (copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK if the block hasn't been remapped. * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When emitting concrete instance of abstract VLA, add DW_AT_type attribute. * gcc.dg/guality/sra-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/guality/sra-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42801