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] |
OK, I found a bug... here is the source code:
- To: egcs-bugs at cygnus dot com
- Subject: Bug report - g++ (egcs-2.90.27)
- From: Philippe Bouchard <boucp00 at dmi dot usherb dot ca>
- Date: Tue, 03 Aug 1999 15:25:04 -0400
#include <iostream.h>
struct A {
void func() {
cout<<"\nA::func()";
}
};
struct B : A {
static void (A::* const ofunc)();
B() {}
void func() {
cout<<"\nB::func()";
}
};void (A::* const B::ofunc)() = &A::func;
void main() {
A a;
B b;
//a.func();
//b.func();
b.ofunc();
cout<<endl;
}And here is the compilation report:
rename.cc: In function `int main(...)':
rename.cc:27: Internal compiler error.
rename.cc:27: Please submit a full bug report to `egcs-bugs@cygnus.com'.And here is the complete version report:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
Thank you.
Philippe Bouchard (boucp00@dmi.usherb.ca)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |