From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 255E33858425; Mon, 30 Oct 2023 10:39:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 255E33858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698662392; bh=lurLT9mmuW4978c48jXuDXkVRNxBfiq6vxn6X9LoojM=; h=From:To:Subject:Date:From; b=ELPEuiz77iS3k5rT+sfUbQkQ7p5BF/YAfBywYlkiGQ+tsJROSLO62AyyDVSNaCQP1 dWp2rkYsVwaE3CZhJX2i8aVZoD+bmPQG65gVZ3kbqOW/cNxbUz3nQLNNFCTgj30QxR pS6Fwj+lEVMV9SHHFay58pDOZlf6Im6C6G53zbyM= From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112287] New: gcc.target/i386/pr111698.c fails on x86_64-darwin Date: Mon, 30 Oct 2023 10:39:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112287 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=3D111698 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=