From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 866423858003; Wed, 13 Dec 2023 21:50:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 866423858003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702504217; bh=eRGfx/nkhMq817bCIrsPMSFVqN9RQJuYizFNOwsp22c=; h=From:To:Subject:Date:From; b=ApJyS5S2imps51V1COXwIPYhWHMvLL+cic+glY+77crVFHUGw0X2rSPNzh5SVGdY3 +d1S+pKC1GyR3fpqO9QcPaJ3Iuqj2VUz9UWwcfopFfi9P5oh7uAGmYdoabOkFq8TDU PB1AbypL2J+fxaOzP3ai5j5dLdb+SeFoTYfVek7E= From: "ewlu at rivosinc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113009] New: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests Date: Wed, 13 Dec 2023 21:50:17 +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: ewlu at rivosinc dot com 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=3D113009 Bug ID: 113009 Summary: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ewlu at rivosinc dot com Target Milestone: --- The following tests are flakey on newlib/linux for 32-bit and 64-bit vector targets FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.avlprop, -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 comparison FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.avlprop, -O3 -g comparison FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.reload, -O3 -fomit-frame-poi= nter -funroll-loops -fpeel-loops -ftracer -finline-functions comparison FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.reload, -O3 -g comparison With logs along the lines of=20 line #8 < rescanning insn with uid =3D 213. > rescanning insn with uid =3D 215. line #9 < verify found no changes in insn with uid =3D 213. > verify found no changes in insn with uid =3D 215. line #10 < rescanning insn with uid =3D 215. > rescanning insn with uid =3D 213. line #11 < verify found no changes in insn with uid =3D 215. > verify found no changes in insn with uid =3D 213. FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.avlprop, -O3 -g comparison line #694 < changing reg in insn 215 > changing reg in insn 213 line #695 < changing reg in insn 213 > changing reg in insn 215 FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.reload, -O3 -g comparison Flakey tests bisected to r14-5744-gae098dfeeef though this is a rough estim= ate. I only compiled and diffed the output 20 times for each hash during the bisection so I might have just gotten lucky (or unlucky) when searching for= the "good" hash. Command used: ./build-gcc-linux-stage2/gcc/xgcc -B./build-gcc-linux-stage2/gcc/=20=20 -march=3Drv64gcv -mabi=3Dlp64d -mcmodel=3Dmedlow -fdiagnostics-plain-outp= ut -w=20 -O3 -g -dumpbase dump1/dump-noaddr.c -DMASK=3D1 -x c --param ggc-min-heap= size=3D1 -fdump-ipa-all -fdump-rtl-all -fdump-tree-all -fdump-noaddr -gno-record-gcc-switches -c -o ./build-gcc-linux-stage2/gcc/testsuite/gcc/dump-noaddr.o ../gcc/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.c && diff -d dump1/dump-noaddr.c.*r.avlprop ../../baseline/build-flakey/dump1/dump-noaddr.c.302r.avlprop All recorded instances can be found here: https://github.com/patrick-rivos/gcc-postcommit-ci/issues?q=3DFAIL%3A+gcc.c= -torture%2Funsorted%2Fdump-noaddr.c.*r.avlprop%2C+-O3+-g+comparison+=