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: [email protected]
ReportedBy: [email protected]
-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.