From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5880F3858D33; Sat, 20 Mar 2021 18:33:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5880F3858D33 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/99685] New: gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fails for 32 bits Date: Sat, 20 Mar 2021 18:33:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 11.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 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: Sat, 20 Mar 2021 18:33:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99685 Bug ID: 99685 Summary: gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fails for 32 bits Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite 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}' powerpc.exp=3Dgcc.target/powerpc/divkc3-1.c" FAIL: gcc.target/powerpc/divkc3-1.c execution test # of expected passes 1 # of unexpected failures 1 make -k check-gcc RUNTESTFLAGS=3D"--target_board=3Dunix'{-m32}' powerpc.exp=3Dgcc.target/powerpc/mulkc3-1.c" FAIL: gcc.target/powerpc/mulkc3-1.c execution test # of expected passes 1 # of unexpected failures 1 (gdb) run Starting program: /home/seurer/gcc/git/build/gcc-10-test/./divkc3-1.exe=20 Program received signal SIGABRT, Aborted. 0x0fd4b7c8 in __GI_raise (sig=3Dsig@entry=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); (gdb) where #0 0x0fd4b7c8 in __GI_raise (sig=3Dsig@entry=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 #1 0x0fd4d584 in __GI_abort () at abort.c:90 #2 0x10000650 in main () at /home/seurer/gcc/git/gcc-10-test/gcc/testsuite/gcc.target/powerpc/divkc3-1.= c:20 z =3D divide (5.0q + 5.0jq, 2.0q + 1.0jq); a =3D 3.0q + 1.0jq; if (z !=3D a) abort (); // line 20 These two tests both fail when compiled for 32 bits but work fine for 64 bi= ts.=20 Are they valid for 32 bits? They also fail in gcc 10 but back in gcc 9 they were marked as unsupported.=