https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83381
Bug ID: 83381 Summary: New test cases gfortran.dg/minval_char* and gfortran.dg/maxval_char* fail Product: gcc Version: 8.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: --- ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313 Some of the new test cases introduced in r255367 (and possibly some other revisions) don't reliably work on powerpc64. If you look at the email test results you will see that the status of these flipflops every few runs. The failures occur during execution and fail with various compilation options. Two that specifically failed recently were gfortran.dg/minval_char_2.f90 gfortran.dg/maxval_char_1.f90 but there are others. For minval_char_2.f90 it is failing at line 28: 28: if (res /= minval(b)) call abort I have a script I use to look for tests that fail erratically and these two fail about 30 to 35 runs in 1000. Sample failures for both the above from 1000 runs: FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/minval_char_2.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test FAIL: gfortran.dg/minval_char_2.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -Os execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -Os execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/minval_char_2.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -Os execution test FAIL: gfortran.dg/maxval_char_1.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/maxval_char_1.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -Os execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/maxval_char_1.f90 -Os execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -Os execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O2 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O1 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/minval_char_2.f90 -O2 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/minval_char_2.f90 -Os execution test FAIL: gfortran.dg/minval_char_2.f90 -O0 execution test FAIL: gfortran.dg/minval_char_2.f90 -O3 -g execution test FAIL: gfortran.dg/maxval_char_1.f90 -O0 execution test FAIL: gfortran.dg/maxval_char_1.f90 -O1 execution test