From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 800E83858D28; Wed, 15 Feb 2023 21:57:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 800E83858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676498264; bh=tDbKKEAcR8wyOiuAi+QP4OjYVOK5zggjkjomNp4qytM=; h=From:To:Subject:Date:From; b=xZQ0+t+N2MDHUWb2Ex4d9qceYTua9nk6UnOusMEE6U+eZDduKZgSXaFxoX0wXDQEC OUfT3whhp5buqEDqhktfn6VcpIht5m0d6ZQCxbmdwc4Evpu9MXPYCwJkkazL/XKqOC ZhyZw1uNXE+z4Nxvn026tQM23fi9J4SbUj95Ohko= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108809] New: gcc.target/powerpc/builtins-5-p9-runnable.c fails on power 9 BE Date: Wed, 15 Feb 2023 21:57:44 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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=3D108809 Bug ID: 108809 Summary: gcc.target/powerpc/builtins-5-p9-runnable.c fails on power 9 BE Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- make -k check-gcc RUNTESTFLAGS=3D"--target_board=3Dunix'{-m32,-m64}' powerpc.exp=3Dgcc.target/powerpc/builtins-5-p9-runnable.c" FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c execution test FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c -O0 execution test FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c -Os execution test FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c -O1 execution test FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c -O2 execution test FAIL: gcc.target/powerpc/builtins-5-p9-runnable.c -O3 execution test This fails on power 9 BE (only) and fails for trunk as well as gcc 12, 11, = and 10.=20=20 (gdb) run Starting program: /home/seurer/gcc/git/build/gcc-10/builtins-5-p9-runnable.= exe=20 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc64-linux-gnu/libthread_db.so.1= ". Program received signal SIGABRT, Aborted. __pthread_kill_implementation (threadid=3D, signo=3D, no_tid=3D) at pthread_kill.c:44 44 pthread_kill.c: No such file or directory. (gdb) where #0 __pthread_kill_implementation (threadid=3D, signo=3D, no_tid=3D) at pthread_kill.c:44 #1 0x00007ffff7c90cb4 in __GI_raise (sig=3D) at ../sysdeps/posix/raise.c:26 #2 0x00007ffff7c749ec in __GI_abort () at abort.c:79 #3 0x00000000100005e8 in main () at /home/seurer/gcc/git/gcc-10/gcc/testsuite/gcc.target/powerpc/builtins-5-p9-= runnable.c:71 If I run it with DEBUG defined I get seurer@perfzep2:~/gcc/git/build/gcc-10$ ./builtins-5-p9-runnable.exe=20 Error: result does not match expected result vec_xl_len_r(8): vec_uc_expected1[0] to vec_uc_expected1[15] 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, vec_xl_len_r(8): vec_uc_result1[0] to vec_uc_result1[15] 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, Error: result does not match expected result vec_xl_len_r(4): vec_uc_expected1[0] to vec_uc_expected1[15] 4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, vec_xl_len_r(4): vec_uc_result1[0] to vec_uc_result1[15] 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, Error: result does not match expected result vec_xl_len_r(2): vec_uc_expected1[0] to vec_uc_expected1[15] 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, vec_xl_len_r(2) vec_uc_result1[0] to vec_uc_result1[15] 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, Error: result does not match expected result vec_xst_len_r(16) vec_uc_expected1[0] to vec_uc_expected1[15] 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, vec_xst_len_r(16) result[0] to result[15] 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, Error: result does not match expected result vec_xst_len_r(2) vec_uc_expected1[0] to vec_uc_expected1[15] 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, vec_xst_len_r(2) result[0] to result[15] 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Error: result does not match expected result vec_xst_len_r(16) vec_uc_expected1[0] to vec_uc_expected1[15] 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, vec_xst_len_r(16) result[0] to result[15] 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, Error: result does not match expected result vec_xst_len_r(14) vec_uc_expected1[0] to vec_uc_expected1[15] 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, vec_xst_len_r(14) result[0] to result[15] 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 0,=