From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0290B3858404; Tue, 21 May 2024 09:03:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0290B3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716282238; bh=fOa5g0ZPm0FCi1flpCnJJin+e1OQAMUyV4D7JZCG2A0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kpYs0kOJ0gcTkCkJm3NTERwW8LaGOUSs01PjJ2qnkrPCVPfWR4Y1btkpxzJaNNJ+K qEBAzs/U4vvaO2O74NMZuBzzzvIBsr9lTckXx76DioI45+T0Xxrw56ZSVAvvCCwlKE 2dglsiczL37Y8vcNh6ikT/qiGE3n0nXPWAu6ZwWw= From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces Date: Tue, 21 May 2024 09:03:56 +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: ubizjak at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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 #47 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #46) > Created attachment 58259 [details] > Preprocessed file >=20 > gcc -O2 -fsanitize=3Dkernel-address -fasan-shadow-offset=3D0xdffffc000000= 0000 > --param asan-instrumentation-with-call-threshold=3D10000 -fsanitize=3Dboo= l -S > alternative.i Omitting -fsanitize=3Dbool compiles to: movzbl %gs:cpu_tlbstate_shared(%rip), %eax testb %al, %al where no sanitization is present with the above variable.=