[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13235] New: gcc's -freorder-blocks-and_partition results in ld m

From: amodra at gmail dot com
Subject: [Bug ld/13235] New: gcc's -freorder-blocks-and_partition results in ld misoptimizing -mcmodel=medium code
Date: Thu, 29 Sep 2011 13:01:23 +0000


             Bug #: 13235
           Summary: gcc's -freorder-blocks-and_partition results in ld
                    misoptimizing -mcmodel=medium code
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified

Created attachment 5952
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5952
testcase taken from gcc/testsuite/gcc.dg/tree-prof/bb-reorg.c

-freorder-blocks-and-partition can result in splitting a low part of a
medium/large toc address calculation from the high part, placing the two insns
in different sections.  When more than one low part calculation exists, one of
which is in the same section as the high part, and the address calculation is
such that the high part is zero, ld will optimize the high part away but not
update the low part insns that are in a different section to the high part.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]