[Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 24 04:10:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list