------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-12 10:46 ------- The bug is simply incorrect error message logic. The 'protected' comes from the point that 'A::i' is declared, not the actual access computed.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377