From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AAFE63858404; Mon, 9 Oct 2023 13:27:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAFE63858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696858020; bh=4v89K/drgP5N+yxL5EpnxlSWR4ziwmbZOH2T/qvmTX0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uMYBywnncuVGbI84gSPipcR4fXFKFNsfz5M3DuikMiRyixaleyG7Ba//K1FZnJtck ABjClAbVyDNFtUEIhazVBiTMc+/oH+FjqwqfwLa575c3EnrA4N/2AhqrOgYW9k2meD b9Z9+CW3eC8sSp3GB/yyeyMY+n4UzCGORckNduDQ= From: "amonakov 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: Mon, 09 Oct 2023 13:27:00 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: cc 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 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #2 from Alexander Monakov --- Looks that way =E2=80=94 even though __seg_gs AS is a subset of the generic= AS, the compiler has no way to find out the base of __seg_gs. We already skip registering TLS data with ASan: __thread int x; int foo (void) { return x; }=