OSDN Git Service

* call.c (build_over_call): Don't use IS_SIGNATURE on a namespace.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 May 1998 12:33:29 +0000 (12:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 May 1998 12:33:29 +0000 (12:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19814 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/call.c

index eb6000e..0d8f22e 100644 (file)
@@ -1,3 +1,7 @@
+Sun May 17 12:32:08 1998  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * call.c (build_over_call): Don't use IS_SIGNATURE on a namespace.
+
 Fri May 15 20:28:00 1998  Jason Merrill  <jason@yorick.cygnus.com>
 
        * decl.c (start_decl): Revert problem change.
index a5c16e9..790d476 100644 (file)
@@ -3422,7 +3422,7 @@ build_over_call (cand, args, flags)
 
   mark_used (fn);
 
-  if (DECL_CONTEXT (fn) && IS_SIGNATURE (DECL_CONTEXT (fn)))
+  if (DECL_CLASS_SCOPE_P (fn) && IS_SIGNATURE (DECL_CONTEXT (fn)))
     return build_signature_method_call (fn, converted_args);
   else if (DECL_VINDEX (fn) && (flags & LOOKUP_NONVIRTUAL) == 0)
     {