[Bug c++/59883] Missed C++ front-end devirtualizations

2023-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59883 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/59883] Missed C++ front-end devirtualizations

2014-01-29 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59883 --- Comment #1 from Jan Hubicka hubicka at gcc dot gnu.org --- The self-recursion testcase is wrong, as can be seen by the following testcase: #include stdio.h struct A { virtual int foo (void) {return foo()+1;} }; struct B: public A {