public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113009] New: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests
@ 2023-12-13 21:50 ewlu at rivosinc dot com
  2023-12-13 22:04 ` [Bug target/113009] " ewlu at rivosinc dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ewlu at rivosinc dot com @ 2023-12-13 21:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009

            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-functions 
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-pointer
-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 

line #8
< rescanning insn with uid = 213.
> rescanning insn with uid = 215.
line #9
< verify found no changes in insn with uid = 213.
> verify found no changes in insn with uid = 215.
line #10
< rescanning insn with uid = 215.
> rescanning insn with uid = 213.
line #11
< verify found no changes in insn with uid = 215.
> verify found no changes in insn with uid = 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 estimate.
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/  
-march=rv64gcv -mabi=lp64d -mcmodel=medlow   -fdiagnostics-plain-output  -w 
-O3 -g   -dumpbase dump1/dump-noaddr.c -DMASK=1 -x c --param ggc-min-heapsize=1
-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=FAIL%3A+gcc.c-torture%2Funsorted%2Fdump-noaddr.c.*r.avlprop%2C+-O3+-g+comparison+

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-15 19:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-13 21:50 [Bug target/113009] New: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests ewlu at rivosinc dot com
2023-12-13 22:04 ` [Bug target/113009] " ewlu at rivosinc dot com
2023-12-14  0:51 ` ewlu at rivosinc dot com
2023-12-14  0:54 ` juzhe.zhong at rivai dot ai
2023-12-14  1:09 ` ewlu at rivosinc dot com
2023-12-15  6:50 ` juzhe.zhong at rivai dot ai
2023-12-15 19:27 ` ewlu at rivosinc dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).