[Bug target/50341] calls via function pointer wrongly scheduled giving invalid TOC pointer

amodra at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 9 13:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50341

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-09-09
         AssignedTo|unassigned at gcc dot       |amodra at gmail dot com
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2011-09-09 13:01:36 UTC ---
Created attachment 25233
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25233
testcase extracted from qemu

compile with -m64 -O2, look before bctrl instructions in resulting assembly.



More information about the Gcc-bugs mailing list