From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 940BF3959C51; Fri, 12 Jun 2020 11:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 940BF3959C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591961612; bh=npamATFY6jpjG/xUzn/lVE2JzJN6MMuQcioHI+71Sws=; h=From:To:Subject:Date:From; b=PeXQOU4md/fJlD1E0G4ywiHvM0giv0wDGfhKNZHzbgDLJzQJXjchVvvy0LPtK/ih1 A0uR1EJmKqYzcosyGRiH+dnPOW7lDaOSaHDHlT47bU+euvpVRK35RR0tHOhSNzx/kl ZX+6wVXdpxX0m8y0VTs/90ryuMIqXEoQJZi+wZBk= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95654] New: nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test Date: Fri, 12 Jun 2020 11:33:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: burnus at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc 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: Fri, 12 Jun 2020 11:33:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95654 Bug ID: 95654 Summary: nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: fortran Assignee: burnus at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- The recent PR94690 commit f884bef21cccc05d748fd7869cd641cbb4f6b6bb "[Fortra= n] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)" added new test cases, one of which FAILs for nvptx offloading in a high optimization variant (only): PASS: libgomp.fortran/pr66199-5.f90 -O0 (test for excess errors) PASS: libgomp.fortran/pr66199-5.f90 -O0 execution test PASS: libgomp.fortran/pr66199-5.f90 -O1 (test for excess errors) PASS: libgomp.fortran/pr66199-5.f90 -O1 execution test PASS: libgomp.fortran/pr66199-5.f90 -O2 (test for excess errors) PASS: libgomp.fortran/pr66199-5.f90 -O2 execution test PASS: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test PASS: libgomp.fortran/pr66199-5.f90 -O3 -g (test for excess errors) PASS: libgomp.fortran/pr66199-5.f90 -O3 -g execution test PASS: libgomp.fortran/pr66199-5.f90 -Os (test for excess errors) PASS: libgomp.fortran/pr66199-5.f90 -Os execution test The one FAIL is: STOP 3 FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test Compiling manually, I'm seeing: source-gcc/libgomp/testsuite/libgomp.fortran/pr66199-5.f90: In function =E2=80=98__m_MOD_f4._omp_fn.0=E2=80=99: source-gcc/libgomp/testsuite/libgomp.fortran/pr66199-5.f90:61: warning: =E2=80=98.count.16=E2=80=99 may be used uninitialized in this function [-Wm= aybe-uninitialized] 61 | end |=20 source-gcc/libgomp/testsuite/libgomp.fortran/pr66199-5.f90: In function =E2=80=98__m_MOD_f3._omp_fn.0=E2=80=99: source-gcc/libgomp/testsuite/libgomp.fortran/pr66199-5.f90:48: warning: =E2=80=98.count.102=E2=80=99 may be used uninitialized in this function [-W= maybe-uninitialized] 48 | end |=20 I haven't assessed whether that's relevant. I don't see the problem when running with Intel MIC (emulated) offloading (= via setting 'CUDA_VISIBLE_DEVICES=3Dn_o-N-e'), and I have not yet tested GCN offloading.=