This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
- From: "donour at cs dot unm dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2006 03:45:42 -0000
- Subject: [Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
- References: <bug-28148-12429@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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