From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 977233959C14; Thu, 23 Apr 2020 14:05:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 977233959C14 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587650739; bh=MsJwPATW8RKzL42NPB/k+5dbRjxowLpDy5A1JVz3GWE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LOXVgonBpJSwpPyBxPSjNhhyfjZjmdyAlSr00MyfOPttPXcxplT/9iNJA6wJ/hfJw TdwONStQ0A8765MUtGYLRh8udglvO5OkHgyZy4ZpTRLFP5g8Q/9TztitOoDAOSaApc XlwIHMBr8LZfnwBhajYjrweFmcLvc0h4EQpV36og= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/94629] 10 issues located by the PVS-studio static analyzer Date: Thu, 23 Apr 2020 14:05:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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 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: Thu, 23 Apr 2020 14:05:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94629 --- Comment #22 from CVS Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:966de09be91c639d66d252c9ae6ab8da5ebfca18 commit r10-7912-g966de09be91c639d66d252c9ae6ab8da5ebfca18 Author: Andrew Stubbs Date: Mon Apr 20 15:25:31 2020 +0100 amdgcn: Check HSA return codes [PR94629] Ensure that the returned status values are not ignored. The old code w= as not broken, but this is both safer and satisfies static analysis. 2020-04-23 Andrew Stubbs PR other/94629 libgomp/ * plugin/plugin-gcn.c (init_hsa_context): Check return value fr= om hsa_iterate_agents. (GOMP_OFFLOAD_init_device): Check return values from both calls= to hsa_agent_iterate_regions.=