Thread View: gmane.comp.gcc.bugs
2 messages
2 total messages
Started by "jamborm at gcc
Tue, 25 Jan 2011 17:36
[Bug tree-optimization/47462] New: g++.dg/opt/devirt1.C no longer devirtualized
Author: "jamborm at gcc
Date: Tue, 25 Jan 2011 17:36
Date: Tue, 25 Jan 2011 17:36
31 lines
1183 bytes
1183 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG462 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.
[Bug tree-optimization/47462] g++.dg/opt/devirt1.C no longer devirtualized
Author: "jamborm at gcc
Date: Tue, 25 Jan 2011 17:37
Date: Tue, 25 Jan 2011 17:37
10 lines
485 bytes
485 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG462 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads