http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6936
Wolfgang Bangerth <bangerth at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at gmail dot com --- Comment #2 from Wolfgang Bangerth <bangerth at gmail dot com> 2011-10-09 13:38:29 UTC --- Still happens with gcc4.5.1. Note that it doesn't matter which of the variables are accessed since it's a name lookup problem and name lookup happens before access control checking.