From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B46F73858C56; Mon, 11 Dec 2023 15:36:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B46F73858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702308988; bh=5krfVENHKxO2fKprQrW/Lvwtz3TxLvEdqzlAFRWl4UY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KdEF8n8iCiTreAXMFoJSoFNxFHiN0MpUHfVJ0Q/7nTXFWK4X9BZKBxGK8/8npiwAk mgQ3Uo6oeJHHyrNbdsYWqG5mHW5SJhB8FNELZez+qFFRz3ptvRjozpC2/fjhD2uYiL p2G1hSHsY+y2IWrbir7kdx6L60NBnpNaidjaZ3d8= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112937] [14 Regression] GCN: FAILs due to unconditional 'f->use_flat_addressing = true;' Date: Mon, 11 Dec 2023 15:36:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D112937 --- Comment #1 from Thomas Schwinge --- The unconditional GCN 'f->use_flat_addressing =3D true;' also has an effect= on one (only!) libgomp offloading test case, for '-foffload-options=3Damdgcn-amdhsa=3D-march=3Dgfx90a' (only!): @@ -6188,11 +6188,11 @@ PASS: libgomp.fortran/target1.f90 -O1 execut= ion test PASS: libgomp.fortran/target1.f90 -O2 (test for excess errors) PASS: libgomp.fortran/target1.f90 -O2 execution test PASS: libgomp.fortran/target1.f90 -O3 -fomit-frame-pointer -funroll-l= oops -fpeel-loops -ftracer -finline-functions (test for excess errors) {+WARNING: program timed out.+} [-PASS:-]{+FAIL:+} libgomp.fortran/target1.f90 -O3 -fomit-frame-point= er -funroll-loops -fpeel-loops -ftracer -finline-functions execution test PASS: libgomp.fortran/target1.f90 -O3 -g (test for excess errors) {+WARNING: program timed out.+} [-PASS:-]{+FAIL:+} libgomp.fortran/target1.f90 -O3 -g execution test PASS: libgomp.fortran/target1.f90 -Os (test for excess errors) PASS: libgomp.fortran/target1.f90 -Os execution test libgomp: GCN fatal error: Asynchronous queue error Runtime message: HSA_STATUS_ERROR_INVALID_ISA: The instruction set architecture is invalid. [hangs] Huh!? That looks very odd (to me, at least). Manually trying with simply '-O3', that appears to be 100 % reproducible on= our gfx90a systems -- but nowhere else. ..., and disappears with the unconditi= onal GCN 'f->use_flat_addressing =3D true;' reverted. (..., which of course wou= ld regress other new test cases.)=