https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61327
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61327
--- Comment #4 from paolo at gcc dot gnu.org ---
Author: paolo
Date: Thu Apr 4 15:38:05 2019
New Revision: 270145
URL: https://gcc.gnu.org/viewcvs?rev=270145&root=gcc&view=rev
Log:
2019-04-04 Paolo Carlini
PR c++/61327
* g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61327
--- Comment #3 from Jonathan Wakely ---
Fixed for GCC 6 by r227023, which fixed PR 66957.
The examples here look different enough that we should probably add them to the
testsuite before closing this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61327
--- Comment #2 from Pavel ---
// Clang compiles without errors.
class B {
protected:
void f() {}
};
template
struct S;
template
struct S{
template
static void caller(T *p) {p->B::f();} // error: 'void B::f()' is
protected
//s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61327
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid
Status|UNCON