From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 860C53858C2C; Tue, 17 May 2022 12:19:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 860C53858C2C From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/105627] New: -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu Date: Tue, 17 May 2022 12:19:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compare-debug-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget attachments.created 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2022 12:19:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105627 Bug ID: 105627 Summary: -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: compare-debug-failure Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz CC: aoliva at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: powerpc64le-unknown-linux-gnu Created attachment 52985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D52985&action=3Dedit reduced testcase Compiler output: $ powerpc64le-unknown-linux-gnu-gcc -Og -fcompare-debug testcase.c -save-te= mps testcase.c: In function 'foo': testcase.c:10:1: warning: GCC vector returned by reference: non-standard ABI extension with no compatibility guarantee [-Wpsabi] 10 | { | ^ $ diff -u *gkd --- a-testcase.c.gkd 2022-05-17 14:16:43.376878594 +0200 +++ a-testcase.gk.c.gkd 2022-05-17 14:16:43.433544950 +0200 @@ -93,25 +93,8 @@ (expr_list:REG_EQUAL (symbol_ref/u:DI ("*.LC0") [flags 0x82]) (nil))) (insn # 0 0 (set (reg:V16QI 69 5 [194]) - (vec_select:V16QI (mem/u/c:V16QI (reg/f:DI 6 6 [193]) [ S16 A128]) - (parallel [ - (const_int 8 [0x8]) - (const_int 9 [0x9]) - (const_int 10 [0xa]) - (const_int 11 [0xb]) - (const_int 12 [0xc]) - (const_int 13 [0xd]) - (const_int 14 [0xe]) - (const_int 15 [0xf]) - (const_int 0 [0]) - (const_int 1 [0x1]) - (const_int 2 [0x2]) - (const_int 3 [0x3]) - (const_int 4 [0x4]) - (const_int 5 [0x5]) - (const_int 6 [0x6]) - (const_int 7 [0x7]) - ]))) "testcase.c":11:5# {*vsx_lxvd2x16_le_V16QI} + (mem/u/c:V16QI (and:DI (reg/f:DI 6 6 [193]) + (const_int -16 [0xfffffffffffffff0])) [ S16 A128])) "testcase.c":11:5# {vsx_movv16qi_64bit} (expr_list:REG_DEAD (reg/f:DI 6 6 [193]) (nil))) (insn # 0 0 (set (reg:V16QI 69 5 [orig:164 _56 ] [164]) @@ -1062,26 +1045,9 @@ ... $ powerpc64le-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-powerpc64le/bin/powerpc64le-unk= nown-linux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r13-555-20220517114234-g= 1815462a6e5-checking-yes-rtl-df-extra-powerpc64le/bin/../libexec/gcc/powerp= c64le-unknown-linux-gnu/13.0.0/lto-wrapper Target: powerpc64le-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/powerpc64le-unknown-linux-gnu --build=3Dx86_64-pc-lin= ux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dpowerpc64le-unknown-linux-gnu --with-ld=3D/usr/bin/powerpc64le-unknown-linux-gnu-ld --with-as=3D/usr/bin/powerpc64le-unknown-linux-gnu-as --disable-libstdcxx-p= ch --prefix=3D/repo/gcc-trunk//binary-trunk-r13-555-20220517114234-g1815462a6e= 5-checking-yes-rtl-df-extra-powerpc64le Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220517 (experimental) (GCC)=