This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in egcs-1.0.3 and gcc-2.8.1
- To: Takacs Balint <takacs at cs dot elte dot hu>
- Subject: Re: Bug in egcs-1.0.3 and gcc-2.8.1
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Sat, 5 Sep 1998 19:14:21 +0200 (MET DST)
- cc: egcs-bugs at cygnus dot com
On Fri, 4 Sep 1998, Takacs Balint wrote:
> During development I've founded the next problem with egcs-1.0.3 (and the
> same with gcc-2.8.1). The following program will reproduce the bug:
On a current snapshot of egcs, I get
> bug.cpp: In function `int main(...)':
> bug.cpp:10: Internal compiler error.
> bug.cpp:10: Please submit a full bug report to `egcs-bugs@cygnus.com'.
bug.cpp: In function `int main(...)':
bug.cpp:10: warning: assuming & on `(a->MyClass::_vptr$MyClass + 8)->
__vtbl_ptr_type::__pfn'
bug.cpp:10: cannot convert `(a->MyClass::_vptr$MyClass + 8)' from type `const
__vtbl_ptr_type *' to type `int (MyClass::*)()'
bug.cpp:10: warning: assuming pointer to member function is non-virtual
instead.
Gerald
PS: egcs-1.1 has been released last week and is definitely worth an
upgrade...
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/