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]

Re: Bug in egcs-1.0.3 and gcc-2.8.1


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]