[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 18 15:58:24 2019 New Revision: 269766 URL: https://gcc.gnu.org/viewcvs?rev=269766=gcc=rev Log: PR c++/89682 - wrong access error in default argument. Here we were pushing into the right access context, but we were called from a deferred checking context, so didn't end up doing the checks until after we left the access context. * pt.c (tsubst_default_argument): Don't defer access checks. Added: trunk/gcc/testsuite/g++.dg/overload/defarg12.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c
[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #2 from Jason Merrill --- Fixed.
[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed||2019-03-12 CC||jakub at gcc dot gnu.org, ||jason at gcc dot gnu.org Target Milestone|--- |9.0 Summary|g++9 incorrectly disallows |[9 Regression] g++9 |using private static method |incorrectly disallows using |as default arg to ctor of |private static method as |template type |default arg to ctor of ||template type Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Rejected since r261656.