--- Comment #6 from mmitchel at gcc dot gnu dot org 2006-08-03 07:36
---
I don't know what I was thinking when I proclaimed this invalid code. It's
clearly valid; the cast is a reinterpret_cast.
--
mmitchel at gcc dot gnu dot org changed:
What|Removed
--- Comment #7 from donour at cs dot unm dot edu 2006-08-03 13:21 ---
Subject: Re: [4.0/4.1/4.2 Regression] ICE with pointer to
member function initializer and cast to a different type
mmitchel at gcc dot gnu dot org wrote:
--- Comment #6 from mmitchel at gcc dot gnu dot org
--- Comment #8 from mmitchel at gcc dot gnu dot org 2006-08-04 04:58
---
Subject: Bug 28148
Author: mmitchel
Date: Fri Aug 4 04:58:36 2006
New Revision: 115919
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115919
Log:
PR c++/28148
* varasm.c (output_constant):
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-08-04 05:00
---
Subject: Bug 28148
Author: mmitchel
Date: Fri Aug 4 05:00:03 2006
New Revision: 115920
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115920
Log:
PR c++/28148
* varasm.c (output_constant):
--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-07-17 02:52
---
This code is not valid ISO C++; there is no conversion from function pointers
(including pointers to member functions) from one type to another.
--
mmitchel at gcc dot gnu dot org changed:
What
--- 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
--- 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