This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in pointer casting
- To: Gilbert Ramirez <gram at xiexie dot org>
- Subject: Re: Bug in pointer casting
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 02 Jul 1999 01:23:42 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <19990701161515.E7795@tivoli.com>
On Jul 1, 1999, Gilbert Ramirez <gram@xiexie.org> wrote:
> template<class T> void cb<T>::operator()(void) {
> void (*callback)(T) = (void (*)(T)) ptr; /* <-------- */
> test.cpp:23: Internal compiler error.
Thanks, fixed in the upcoming gcc 2.95
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists