]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/init.c
* cp-tree.h (OVL_FIRST, OVL_NAME): New.
[thirdparty/gcc.git] / gcc / cp / init.c
index 00916d73a9103f3cb3c5d64047d383426dd0fd60..a905af8c85a9a204538eec0dc3a70f39894d2a2c 100644 (file)
@@ -2063,7 +2063,7 @@ build_offset_ref (tree type, tree member, bool address_p,
       if (TREE_CODE (t) != TEMPLATE_ID_EXPR && !really_overloaded_fn (t))
        {
          /* Get rid of a potential OVERLOAD around it.  */
-         t = OVL_CURRENT (t);
+         t = OVL_FIRST (t);
 
          /* Unique functions are handled easily.  */