------- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-24 03:55 ------- (In reply to comment #3) > Subject: Re: ICE with pointer to member function initializer > and cast to a different type > That should be legal ISO c++. That type of constuct is used actually > pretty common in specific types of applications (OS and embedded apps).
What I mean is that the type of the arguments and return type don't match so if you use __Virtual__foo__Var1 without a cast back, the code would be undefined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28148