------- Comment #4 from pinskia at gcc dot gnu dot org  2006-12-07 20:18 -------
Reduced testcase:
class BaseRobot {
   typedef void (BaseRobot::*PseudoState)(void);
   typedef PseudoState STATE;
   STATE initial ();
   int ready ();
   STATE stpOtherTask ();
   STATE commonEventProcessing (STATE pIdleTarget=(STATE)&BaseRobot::ready);
};
BaseRobot::STATE BaseRobot::initial ()
{
return commonEventProcessing ();
}
BaseRobot::STATE BaseRobot::stpOtherTask ()
{
  return commonEventProcessing ();
}

------------
But I think this invalid (at least it is undefined if we invoke
this->*pIdleTarget () ).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.0 4.1.1                 |
      Known to work|3.3.6 3.4.5                 |


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

Reply via email to