https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287

            Bug ID: 112287
           Summary: gcc.target/i386/pr111698.c fails on x86_64-darwin
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

The fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111698 introduced
testsuite failures on x86_64-apple-darwin21:

PASS: gcc.target/i386/pr111698.c (test for excess errors)
FAIL: gcc.target/i386/pr111698.c scan-assembler-not testl
gcc.target/i386/pr111698.c: testb found 0 times
FAIL: gcc.target/i386/pr111698.c scan-assembler-times testb 1
gcc.target/i386/pr111698.c: testw found 0 times
FAIL: gcc.target/i386/pr111698.c scan-assembler-times testw 1

The assembly produced is the following:

        .build_version macos,  12, 0
        .text
        .p2align 4
        .globl _foo
_foo:
LFB0:
        testl   $655360, _m(%rip)
        setne   %al
        ret
LFE0:
        .p2align 4
        .globl _bar
_bar:
LFB1:
        testl   $10526720, _m(%rip)
        setne   %al
        ret
LFE1:
        .globl _m
        .zerofill __DATA,__common,_m,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   0x3
        .ascii "zR\0"
        .uleb128 0x1
        .sleb128 -8
        .uleb128 0x10
        .uleb128 0x1
        .byte   0x10
        .byte   0xc
        .uleb128 0x7
        .uleb128 0x8
        .byte   0x90
        .uleb128 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
        .uleb128 0
        .align 3
LEFDE1:
LSFDE3:
        .set L$set$3,LEFDE3-LASFDE3
        .long L$set$3
LASFDE3:
        .long   LASFDE3-EH_frame1
        .quad   LFB1-.
        .set L$set$4,LFE1-LFB1
        .quad L$set$4
        .uleb128 0
        .align 3
LEFDE3:
        .subsections_via_symbols

Reply via email to