------- Comment #3 from pinskia at gcc dot gnu dot org  2008-10-31 00:38 -------
Explictly by the following new code:
    {
      mark_used (fn);
      /* We could not check access when this expression was originally
         created since we did not know at that time to which function
         the expression referred.  */
      if (DECL_FUNCTION_MEMBER_P (fn))
        {
          gcc_assert (access_path);
          perform_or_defer_access_check (access_path, fn, fn);
        }
    }

Since this was already "bound", to the template we should not be performing
access checks for this template function.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37971

Reply via email to