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

            Bug ID: 115259
           Summary: [15 Regressions] GCN vs. "tree-optimization/115144 -
                    improve sinking destination choice"
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: ams at gcc dot gnu.org, rguenth at gcc dot gnu.org
  Target Milestone: ---
            Target: GCN

Per bisecting, I found commit r15-815-g5b9b3bae33cae7fca2e3c3e3028be6b8bee9b698
"tree-optimization/115144 - improve sinking destination choice" responsible for
a number of GCN target (tested '-march=gfx908) execution test regressions.  As
it seems, it's a mis-compilation of libgfortran code.  (That is, have to
rebuilt target libgfortran to make the issue appear/go away.)  Given that we're
not seeing such failures in any other configuration, it might be a latent issue
in GCC/GCN?

    PASS: gfortran.dg/all_bounds_1.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/all_bounds_1.f90   -O0  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -O0  output pattern test
    PASS: gfortran.dg/all_bounds_1.f90   -O1  (test for excess errors)
    PASS: gfortran.dg/all_bounds_1.f90   -O1  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -O1  output pattern test
    PASS: gfortran.dg/all_bounds_1.f90   -O2  (test for excess errors)
    PASS: gfortran.dg/all_bounds_1.f90   -O2  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -O2  output pattern test
    PASS: gfortran.dg/all_bounds_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    PASS: gfortran.dg/all_bounds_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  output pattern test
    PASS: gfortran.dg/all_bounds_1.f90   -O3 -g  (test for excess errors)
    PASS: gfortran.dg/all_bounds_1.f90   -O3 -g  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -O3 -g  output pattern
test
    PASS: gfortran.dg/all_bounds_1.f90   -Os  (test for excess errors)
    PASS: gfortran.dg/all_bounds_1.f90   -Os  execution test
    [-PASS:-]{+FAIL:+} gfortran.dg/all_bounds_1.f90   -Os  output pattern test

    Fortran runtime error: Incorrect extent in return value of ALL intrinsic in
dimension 1: is 3, should be 140127603031922

    Fortran runtime error: Incorrect extent in return value of ALL intrinsic in
dimension 1: is 3, should be 17179869188

    Fortran runtime error: Incorrect extent in return value of ALL intrinsic in
dimension 1: is 3, should be 5648507875369387964

    [Etc.]

    Should match:
    Fortran runtime error: Incorrect extent in return value of ALL intrinsic in
dimension 1: is 3, should be 2

(..., that is, the "should be" value is wrong?!)


    PASS: gfortran.dg/allocated_4.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/allocated_4.f90   -O0  execution test
    PASS: gfortran.dg/allocated_4.f90   -O1  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/allocated_4.f90   -O1  execution test
    PASS: gfortran.dg/allocated_4.f90   -O2  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/allocated_4.f90   -O2  execution test
    PASS: gfortran.dg/allocated_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/allocated_4.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    PASS: gfortran.dg/allocated_4.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/allocated_4.f90   -O3 -g  execution test
    PASS: gfortran.dg/allocated_4.f90   -Os  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/allocated_4.f90   -Os  execution test

    Operating system error: Not enough space
    Integer overflow in xmallocarray


    PASS: gfortran.dg/any_all_1.f90   -O0  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -O0  execution test
    PASS: gfortran.dg/any_all_1.f90   -O1  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -O1  execution test
    PASS: gfortran.dg/any_all_1.f90   -O2  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -O2  execution test
    PASS: gfortran.dg/any_all_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    PASS: gfortran.dg/any_all_1.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -O3 -g  execution test
    PASS: gfortran.dg/any_all_1.f90   -Os  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/any_all_1.f90   -Os  execution test

    Memory access fault by GPU node-2 (Agent handle: 0x1c3ec30) on address
0x7fafa6400000. Reason: Page not present or supervisor privilege.


    PASS: gfortran.dg/anyallcount_1.f90   -O0  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -O0  execution test
    PASS: gfortran.dg/anyallcount_1.f90   -O1  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -O1  execution test
    PASS: gfortran.dg/anyallcount_1.f90   -O2  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -O2  execution test
    PASS: gfortran.dg/anyallcount_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    PASS: gfortran.dg/anyallcount_1.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -O3 -g  execution test
    PASS: gfortran.dg/anyallcount_1.f90   -Os  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/anyallcount_1.f90   -Os  execution test

    Memory access fault by GPU node-2 (Agent handle: 0x1d84c30) on address
0x7f8efc600000. Reason: Page not present or supervisor privilege.


    PASS: gfortran.dg/bound_11.f90   -O0  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -O0  execution test
    PASS: gfortran.dg/bound_11.f90   -O1  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -O1  execution test
    PASS: gfortran.dg/bound_11.f90   -O2  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -O2  execution test
    PASS: gfortran.dg/bound_11.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    PASS: gfortran.dg/bound_11.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -O3 -g  execution test
    PASS: gfortran.dg/bound_11.f90   -Os  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/bound_11.f90   -Os  execution test

    Operating system error: Not enough space
    Integer overflow in xmallocarray


    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -O0  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -O0  execution
test
    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -O1  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -O1  execution
test
    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -O2  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -O2  execution
test
    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
execution test
    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -O3 -g  (test for excess
errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -O3 -g 
execution test
    PASS: gfortran.dg/intrinsic_ifunction_1.f90   -Os  (test for excess errors)
    [-PASS:-]{+FAIL:+} gfortran.dg/intrinsic_ifunction_1.f90   -Os  execution
test

    Memory access fault by GPU node-2 (Agent handle: 0x1d81c30) on address
0x7f3fe8600000. Reason: Page not present or supervisor privilege.


    @@ -58300,14 +58300,14 @@ PASS:
gfortran.fortran-torture/execute/intrinsic_anyall.f90 compilation,  -O2 -f
    PASS: gfortran.fortran-torture/execute/intrinsic_anyall.f90 compilation, 
-O2 -fomit-frame-pointer -finline-functions -funroll-loops 
    PASS: gfortran.fortran-torture/execute/intrinsic_anyall.f90 compilation, 
-O3 -g 
    PASS: gfortran.fortran-torture/execute/intrinsic_anyall.f90 compilation, 
-Os 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O0 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O1 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O2 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O2 -fbounds-check 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O2 -fomit-frame-pointer -finline-functions 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-loops 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -O3 -g 
    [-PASS:-]{+FAIL:+} gfortran.fortran-torture/execute/intrinsic_anyall.f90
execution,  -Os 

    Memory access fault by GPU node-2 (Agent handle: 0xbb4c30) on address
0x7f9702200000. Reason: Page not present or supervisor privilege.
  • [Bug target/115259] New: [15 Reg... tschwinge at gcc dot gnu.org via Gcc-bugs

Reply via email to