[Bug debug/56563] no debuginfo for "explicit" operator

2014-02-19 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56563

Mark Wielaard  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Mark Wielaard  ---
With the patch we get the following for the example in the description:

 [37]  subprogram
   external (flag_present) Yes
   name (strp) "operator int"
   decl_file(data1) 1
   decl_line(data1) 3
   linkage_name (strp) "_ZN1qcviEv"
   type (ref4) [51]
   declaration  (flag_present) Yes
   explicit (flag_present) Yes
   object_pointer   (ref4) [4a]


[Bug debug/56563] no debuginfo for "explicit" operator

2014-02-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56563

--- Comment #3 from Jakub Jelinek  ---
Author: jakub
Date: Wed Feb 19 18:12:31 2014
New Revision: 207915

URL: http://gcc.gnu.org/viewcvs?rev=207915&root=gcc&view=rev
Log:
PR debug/56563
* cp-objcp-common.c (cp_function_decl_explicit_p): Remove
FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node check.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-objcp-common.c


[Bug debug/56563] no debuginfo for "explicit" operator

2014-02-19 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56563

--- Comment #2 from Mark Wielaard  ---
Jakub proposed a patch:
http://gcc.gnu.org/ml/gcc-patches/2014-02/msg01166.html


[Bug debug/56563] no debuginfo for "explicit" operator

2014-02-19 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56563

Mark Wielaard  changed:

   What|Removed |Added

 CC||mark at gcc dot gnu.org

--- Comment #1 from Mark Wielaard  ---
PR debug/37959 did add support for explicit constructors by adding a
LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P that dwarf2out uses to tag functions with
DW_AT_explicit attributes.