This is reduced from PR 14719/18835:
struct no_context {
  template< class Event > void no_function( const Event & );
};
template< class Event, class Destination, class TransitionContext = no_context,
void ( TransitionContext::*pTransitionAction )( const Event & ) = 
&no_context::no_function< Event > >
struct transition
{
  struct EvFlipBit {};
  struct BitState{};
  template< class BitNo, class StateNo > struct FlipTransition {
    typedef transition<EvFlipBit, BitState> type;
  };
};

-- 
           Summary: [4.0/4.1 Regression] ICE on vaild code
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 18835
             nThis:


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

Reply via email to