]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR debug/56563 (no debuginfo for "explicit" operator)
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Feb 2014 18:12:31 +0000 (19:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Feb 2014 18:12:31 +0000 (19:12 +0100)
PR debug/56563
* cp-objcp-common.c (cp_function_decl_explicit_p): Remove
FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node check.

From-SVN: r207915

gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.c

index 9218f2b5c9f618c97ec252d85c431c331a8e31f6..d1e2f479b9bbcadcb8863a35f509c35c6a89f70c 100644 (file)
@@ -1,5 +1,9 @@
 2014-02-19  Jakub Jelinek  <jakub@redhat.com>
 
+       PR debug/56563
+       * cp-objcp-common.c (cp_function_decl_explicit_p): Remove
+       FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node check.
+
        PR c++/60267
        * pt.c (tsubst_expr): Handle ANNOTATE_EXPR.
 
index f7400ec2731a6a2cb67461d00e86ffbc8bce93f7..aa0ff839ceef7fc1f232d9017c025137a1c76e13 100644 (file)
@@ -160,7 +160,6 @@ bool
 cp_function_decl_explicit_p (tree decl)
 {
   return (decl
-         && FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node
          && DECL_LANG_SPECIFIC (STRIP_TEMPLATE (decl))
          && DECL_NONCONVERTING_P (decl));
 }