------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-18 19:04 -------
Hmm,
typedef typed_slot_rep<T_functor> typed_slot;
typed_slot *typed_rep = static_cast<typed_slot*>(rep);
return (typed_rep->functor_)();This code could violate C++ aliasing rules. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252
