This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
Re: This code crashes egcs-1.1.1 release
- To: "Darrington, John" <john.darrington@mitswa.com.au>
- Subject: Re: This code crashes egcs-1.1.1 release
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Thu, 29 Jul 1999 11:13:51 -0500
- cc: "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>, khan@mercury.xraylith.wisc.edu
"Darrington, John" <john.darrington@mitswa.com.au> writes:
> /* This code crashes egcs-2.91.60 */
>
> void global_func( void ( * )( unsigned int ));
>
> class Base
> {
> public:
> static void method_in_base( unsigned int);
>
> };
>
> class C : public virtual Base
> {
> } ;
>
> class D : public virtual Base, public C
> {
> public:
>
> void create_backup( void);
> };
>
> void
> D::create_backup( void )
> {
>
> global_func( method_in_base);
>
> }
But not with gcc-2.95 pre-release, so it appears that the bug has
been fixed.
Regards,
Mumit