[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-03-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #10 from Jan Hubicka hubicka at gcc dot gnu.org --- Author: hubicka Date: Sun Mar 2 20:51:48 2014 New Revision: 208261 URL: http://gcc.gnu.org/viewcvs?rev=208261root=gccview=rev Log: PR ipa/60306 Revert: 2013-12-14

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-03-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-03-01 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #9 from Jan Hubicka hubicka at gcc dot gnu.org --- OK, this is what I am testing for mainline now: Index: ipa-prop.c === --- ipa-prop.c (revision 208247) +++ ipa-prop.c

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #6 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #4) OK, I am re-considering my decision to not assign this to Martin. The problem is the following. We have call: struct Box x; ...

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #7 from Richard Biener rguenth at gcc dot gnu.org --- Of course the bug seems to be static bool stmt_may_be_vtbl_ptr_store (gimple stmt) { if (is_gimple_call (stmt)) return false; ^^^ this. I remember being very curious when

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-28 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #8 from Jan Hubicka hubicka at gcc dot gnu.org --- Created attachment 32235 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32235action=edit Better WIP patch Yep, ignoring the calls also surprised me. I spent some time trying to

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||mjambor at suse

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #4 from Jan Hubicka hubicka at gcc dot gnu.org --- OK, I am re-considering my decision to not assign this to Martin. The problem is the following. We have call: struct Box x; ... x = edges_connecting_to_node (1); [return slot

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 --- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org --- Created attachment 32231 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32231action=edit WIP patch Hi, I actually had code around to detect type known from function call, so it is

[Bug ipa/60306] [4.9 Regression] Incorrect devirtualization pure virtual method called

2014-02-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60306 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at gcc