From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF3D93858C52; Wed, 17 Jan 2024 15:04:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF3D93858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705503848; bh=xVsmJQpVSAe6whg/bOCXXM5GggjLEJ4xiXELq/WHCmc=; h=From:To:Subject:Date:From; b=ep5w7d48ezbOl0+RQphijjNXMNe3RFgpmZp3QtJkXL/AnZd1MPMqx1Vkhg/T7j+RV D9iGlpwP+HCXoK7DW8FhfJgBVQRpVVzmeoS8qsP8j8wPOfLwGYlABmH5ydG+/Q/cRF xJ8rZQg2pYpNuaOqripWwHkEWErI/eYcsdVBKSG0= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/113448] New: libgomp.c/alloc-pinned-1.c etc. XPASS Date: Wed, 17 Jan 2024 15:04:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113448 Bug ID: 113448 Summary: libgomp.c/alloc-pinned-1.c etc. XPASS Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: ams at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- Target: *-*-solaris2.11 Two new libgomp testcases introduced in commit 348874f0baac0f22c98ab11abbfa65fd172f6bdd Author: Andrew Stubbs Date: Tue Jan 4 12:22:01 2022 +0000 libgomp: basic pinned memory on Linux XPASS on Solaris/SPARC and x86, 32 and 64-bit: +XPASS: libgomp.c/alloc-pinned-1.c execution test +XPASS: libgomp.c/alloc-pinned-2.c execution test The tests emit OS unsupported The XPASSes are no wonder since on any non-Linux target, the tests have int=20=20 get_pinned_mem () {=20 return 0; }=20 and at the same time /* { dg-xfail-run-if "Pinning not implemented on this host" { ! *-*-linux-g= nu } } */ However, the test fake-PASSes, thus the XPASS. I believe get_pinned_mem sh= ould simply abort() on unsupported OSes.=