[Bug debug/37959] g++ does not emit DW_AT_explicit
--- Comment #4 from jakub at gcc dot gnu dot org 2009-03-28 16:46 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37959
[Bug debug/37959] g++ does not emit DW_AT_explicit
--- Comment #3 from jakub at gcc dot gnu dot org 2009-03-27 21:44 --- Subject: Bug 37959 Author: jakub Date: Fri Mar 27 21:44:21 2009 New Revision: 145128 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145128 Log: PR debug/37959 * dwarf2out.c (dwarf_attr_name): Handle DW_AT_explicit attribute. (gen_subprogram_die): When a function is explicit, generate the DW_AT_explicit attribute. * langhooks.h (struct lang_hooks_for_decls): Add function_decl_explicit_p langhook. * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define. (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P. * cp-objcp-common.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define. (cp_function_decl_explicit_p): New prototype. * cp-objcp-common.c (cp_function_decl_explicit_p): New function. * g++.dg/debug/dwarf2/explicit-constructor.C: New test. Added: trunk/gcc/testsuite/g++.dg/debug/dwarf2/explicit-constructor.C Modified: trunk/gcc/ChangeLog trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-objcp-common.c trunk/gcc/cp/cp-objcp-common.h trunk/gcc/dwarf2out.c trunk/gcc/langhooks-def.h trunk/gcc/langhooks.h trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37959
[Bug debug/37959] g++ does not emit DW_AT_explicit
--- Comment #2 from dodji at gcc dot gnu dot org 2008-12-05 14:29 --- This patch was posted to gcc-patches, got reworked and approved. See http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00137.html. I will wait until trunk is open again for feature commit to install it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37959
[Bug debug/37959] g++ does not emit DW_AT_explicit
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-10-31 18:23:38 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37959
[Bug debug/37959] g++ does not emit DW_AT_explicit
--- Comment #1 from dodji at gcc dot gnu dot org 2008-10-31 21:41 --- Created an attachment (id=16605) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16605action=view) Fix candidate #0 This patch tries to fix the problem. It works for me and applies to trunk. I am not sure if it qualifies to be sent to gcc-patches as we are in stage3 now. Please let me know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37959