This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]