http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|gcc-bugs at gcc dot gnu.org |janis at gcc dot gnu.org --- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-08-20 10:29:11 UTC --- Comment #2 is PR5605. Comparing to Janis' fix for PR2288 (http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00838.html) looks like the pushdecl_maybe_friend_1 checks must be beefed up, maybe we need an additional sk_* for Comment #2. Seems doable. Adding Janis in CC in case she wants to beat me (or somebody else) on this.