[Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
donour at cs dot unm dot edu
gcc-bugzilla@gcc.gnu.org
Sat Jun 24 03:55:00 GMT 2006
------- Comment #3 from donour at cs dot unm dot edu 2006-06-24 03:45 -------
Subject: Re: ICE with pointer to member function initializer
and cast to a different type
pinskia at gcc dot gnu dot org wrote:
> ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-24 02:03 -------
> I cannot figure out if this is undefined code or not but it should not at least
> ICE.
>
>
>
That should be legal ISO c++. That type of constuct is used actually
pretty common in specific types of applications (OS and embedded apps).
thanks
donour
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28148
More information about the Gcc-bugs
mailing list