This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50341] New: calls via function pointer wrongly scheduled giving invalid TOC pointer
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Sep 2011 12:57:24 +0000
- Subject: [Bug target/50341] New: calls via function pointer wrongly scheduled giving invalid TOC pointer
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50341
Bug #: 50341
Summary: calls via function pointer wrongly scheduled giving
invalid TOC pointer
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amodra@gmail.com
-mcmodel=medium and -mcmodel=large code containing calls via function pointer
may schedule code in the indirect call sequence such that the load of r2 for
the indirect call precedes instructions using r2.