public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized
@ 2011-01-25 18:16 jamborm at gcc dot gnu.org
2011-01-25 18:37 ` [Bug tree-optimization/47462] " jamborm at gcc dot gnu.org
2013-12-17 16:28 ` hubicka at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-25 18:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47462
Summary: g++.dg/opt/devirt1.C no longer devirtualized
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jamborm@gcc.gnu.org
Since the fix for PR 47382:
http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01753.html
the test case g++.dg/opt/devirt1.C had to be XFAILed for reasons
explained in the email with the patch.
Basically, whenever we want to fold OBJ_TYPE_REF to a direct call
according to the type of its 1st argument, we need to check for
dynamic type changes.
Patches http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01218.html and
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01214.html do this but
suffer from another problem because currently we also must make sure
we do not create a call to a thunk which cannot be represented in the
call graph (or compensate for in the caller). The patches do detect
thunks by looking at call graph nodes but we do not have a call graph
node for the destination and so the code bails out.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/47462] g++.dg/opt/devirt1.C no longer devirtualized
2011-01-25 18:16 [Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized jamborm at gcc dot gnu.org
@ 2011-01-25 18:37 ` jamborm at gcc dot gnu.org
2013-12-17 16:28 ` hubicka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-25 18:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47462
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.25 17:37:18
CC| |jamborm at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/47462] g++.dg/opt/devirt1.C no longer devirtualized
2011-01-25 18:16 [Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized jamborm at gcc dot gnu.org
2011-01-25 18:37 ` [Bug tree-optimization/47462] " jamborm at gcc dot gnu.org
@ 2013-12-17 16:28 ` hubicka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: hubicka at gcc dot gnu.org @ 2013-12-17 16:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47462
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |hubicka at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
this testcase is no longer xfailed, so I am clossing this one.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-17 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 18:16 [Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized jamborm at gcc dot gnu.org
2011-01-25 18:37 ` [Bug tree-optimization/47462] " jamborm at gcc dot gnu.org
2013-12-17 16:28 ` hubicka at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).