--- Comment #6 from pinskia at gcc dot gnu dot org 2006-06-29 19:21 ---
I just looked more into this and this is a dup of bug 27657.
*** This bug has been marked as a duplicate of 27657 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
--- Comment #3 from seongbae dot park at gmail dot com 2006-06-23 18:26
---
I'm able to reproduce the problem with 4.2.0 on linux/x86.
valgrind-3.2.0/memcheck/mc_main.c has
359 static AuxMapEnt hacky_auxmaps[N_AUXMAPS];
...
362 static AuxMapEnt* auxmap =
--- Comment #4 from seongbae dot park at gmail dot com 2006-06-23 18:43
---
The problem is causedby the extra DW_AT_const_value.
4.1.0 generates the following dwarf entry for auxmap:
1a30c: Abbrev Number: 31 (DW_TAG_variable)
DW_AT_name: (indirect string, offset: 0x35e):
--- Comment #5 from seongbae dot park at gmail dot com 2006-06-23 23:55
---
Looks like this indeed is a duplicate of 27657.
In toplev.c:
1013 cgraph_varpool_assemble_pending_decls ();
...
1040 (*debug_hooks-finish) (main_input_filename);
dwarf2 finish ends up calling
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-08 14:42 ---
Related to PR 27657, though this is not an unused variable as far as I can
tell.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added