This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/50076] New: FAIL: c-c++-common/cxxbitfields-3.c scan-assembler movl.*, var on x86_64-apple-darwin10


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

             Bug #: 50076
           Summary: FAIL: c-c++-common/cxxbitfields-3.c scan-assembler
                    movl.*, var on x86_64-apple-darwin10
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: aldyh@gcc.gnu.org
              Host: x86_64-apple-darwin10
            Target: x86_64-apple-darwin10
             Build: x86_64-apple-darwin10


scan-assembler for c-c++-common/cxxbitfields-3.c fails on
x86_64-apple-darwin10. The assembly is

    .text
    .align 4,0x90
    .globl _setit
_setit:
LFB0:
    movq    _var@GOTPCREL(%rip), %rdx
    movl    (%rdx), %eax
    andb    $15, %al
    orl    $80, %eax
    movl    %eax, (%rdx)
    ret
LFE0:
    .comm    _var,4,2
    .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
    .set L$set$0,LECIE1-LSCIE1
    .long L$set$0
LSCIE1:
    .long    0
    .byte    0x1
    .ascii "zR\0"
    .byte    0x1
    .byte    0x78
    .byte    0x10
    .byte    0x1
    .byte    0x10
    .byte    0xc
    .byte    0x7
    .byte    0x8
    .byte    0x90
    .byte    0x1
    .align 3
LECIE1:
LSFDE1:
    .set L$set$1,LEFDE1-LASFDE1
    .long L$set$1
LASFDE1:
    .long    LASFDE1-EH_frame1
    .quad    LFB0-.
    .set L$set$2,LFE0-LFB0
    .quad L$set$2
    .byte    0
    .align 3
LEFDE1:
    .subsections_via_symbols

The test has been introduced in revision 176824 and probably never succeeded. I
cannot tell if the test should be updated for darwin or if it is a bug in the
compiler.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]