http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50491

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-22 
23:52:15 UTC ---
This fixes the ICE but I don't know if it's correct and haven't run the
testsuite:

Index: semantics.c
===================================================================
--- semantics.c (revision 178930)
+++ semantics.c (working copy)
@@ -7751,6 +7751,7 @@
       /* We can see a FIELD_DECL in a pointer-to-member expression.  */
     case FIELD_DECL:
     case PARM_DECL:
+    case USING_DECL:
       return true;

     case AGGR_INIT_EXPR:

Reply via email to