http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #5 from Jonathan Wakely 2011-05-27
15:11:29 UTC ---
This bug is probably the reason why g++ only rejects half of the testcase for
http://llvm.org/bugs/show_bug.cgi?id=8058
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #4 from Jonathan Wakely 2011-05-11
10:35:28 UTC ---
I've just hit another variation of this bug myself.
Reduced:
class F {
void f();
};
template
void b() {
(void) &F::f;
}
template void b();
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #3 from Chris Demetriou 2011-03-11 19:59:40
UTC ---
(In reply to comment #2)
> I think this is different enough from any of those others to count as a
> distinct bug - confirmed
I hadn't seen them when i filed this (didn't match the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
Jonathan Wakely changed:
What|Removed |Added
Keywords||accepts-invalid
Status|UNCO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #1 from Jonathan Wakely 2011-03-11
17:38:17 UTC ---
Access checking inside templates seems to be completely broken, see PR 47346
and the bugs I listed there, this could be a dup of one of them