From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6FDAF38582A4; Tue, 5 Mar 2024 19:48:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FDAF38582A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709668122; bh=kO05qTJ6r6RoY9YrowrQfUTWGdt0Mcslb2hxJj8QWro=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ev+7HzSG4xShv7p5mP9wBMT6HGMjZnxPTOWb9mZxa1KDzQw9ilgaxpbPuZiH0NOi8 JIZh0sl6lTdqIH7c9jQxQ84TlytgGbsPfsW1rZo+yFCADl3MdXyLW3hjMdN13vtRoi nzdyQAk+9jFyYcuJ7urI3JGZUoAqfj+ZXNd9WAbE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/97696] ICE since ASAN_MARK does not handle poly_int sized varibales Date: Tue, 05 Mar 2024 19:48:40 +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: 11.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97696 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:fca6f6fddb22b8665e840f455a7d0318d4575227 commit r14-9324-gfca6f6fddb22b8665e840f455a7d0318d4575227 Author: Richard Sandiford Date: Tue Mar 5 19:48:25 2024 +0000 asan: Handle poly-int sizes in ASAN_MARK [PR97696] This patch makes the expansion of IFN_ASAN_MARK let through poly-int-sized objects. The expansion itself was already generic enough, but the tests for the fast path were too strict. gcc/ PR sanitizer/97696 * asan.cc (asan_expand_mark_ifn): Allow the length to be a poly_int. gcc/testsuite/ PR sanitizer/97696 * gcc.target/aarch64/sve/pr97696.c: New test.=