From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 082DA3858C39; Thu, 21 Mar 2024 09:41:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 082DA3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711014084; bh=FI5BRfRfFfbCuFZ9Cs7dv00jp9L15/sa58GFPq1DMO4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cjdr/8lqdmBpY2vNFrJY/EXe6U3j3cdoozDVen48zQ8XM8mUepAF3n4BhoulD2JzJ 1oHVeBhEUC0ptuLLghgd9M+LA4oiZ8gb+TRp03XbAvpUtIwQKUsyRrOVND0I8iEgql NemPtsTFEb1AwpOldejLPCJKwMs1AfId7FY0zyY0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces Date: Thu, 21 Mar 2024 09:41:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: addr-space, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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=3D111736 --- Comment #21 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #20) > Though, talking about address spaces, guess we also need to change ubsan.= cc, > so that for targetm.addr_space.zero_address_valid (as) case it actually > doesn't try to > verify the pointers aren't NULL (it still should check alignment). I'll handle that.=