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

             Bug #: 50127
           Summary: [4.7 regression] g++.dg/tree-prof/partition2.C FAILs
                    on several targets
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: r...@gcc.gnu.org
              Host: *-*-solaris2.*, i386-apple-darwin,
                    x86_64-unknown-linux-gnu
            Target: *-*-solaris2.*, i386-apple-darwin,
                    x86_64-unknown-linux-gnu
             Build: *-*-solaris2.*, i386-apple-darwin,
                    x86_64-unknown-linux-gnu


Between 20110722 and 20110729, g++.dg/tree-prof/partition2.C started to FAIL on
several targets:

FAIL: g++.dg/tree-prof/partition2.C compilation,  -Os  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition2.C execution,    -Os  -fprofile-use

On Solaris, the error happens with both Sun as ...

output is:
Assembler: partition2.C
    "/var/tmp//ccdbaqzf.s", line 79 : Illegal subtraction - symbols from
different sections: ".L5", ".LFB0"

... and gas:

output is:
/var/tmp//ccXAayTS.s: Assembler messages:
/var/tmp//ccXAayTS.s:95: Error: invalid operands (.text.unlikely and
.text.startup sections) for `-'

Likewise on Linux/amd64.

This is a regression from 4.5 and 4.6.

At the same time (and only on Solaris, it seems), another tree-prof test
started
to fail:

FAIL: gcc.dg/tree-prof/bb-reorg.c execution,    -fprofile-use -D_PROFILE_USE

But only for 64-bit Solaris/x86.  I haven't investigated in more detail what's
wrong here.

Reply via email to