This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55078] [4.8 Regression] FAIL: g++.dg/torture/pr46154.C
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Oct 2012 09:18:09 +0000
- Subject: [Bug middle-end/55078] [4.8 Regression] FAIL: g++.dg/torture/pr46154.C
- Auto-submitted: auto-generated
- References: <bug-55078-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55078
--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> 2012-10-27 09:18:09 UTC ---
Actually, this seems like another latent problem in devirtualization. We
assert because estimate_edge_devirt_benefit works out we can devirtualize the
call, but try_make_edge_direct_virtual_call used in inline transform does not.
It seems because estimate_edge_devirt_benefit uses the type information
provided by ipa-cp that is cowardly ignored by
try_make_edge_direct_virtual_call. Martin, can you take a look?
Honza