From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 24F983850405; Wed, 5 Aug 2020 03:52:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24F983850405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596599567; bh=akKufZzQXHCwE72svTCYqZlzeLGLstAR9JFUy2lDZDY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Xv9DZ/Ycu2ZRijdV1Bmo3/J2GR4l5xn1G1a0OBYVusdKAlSEHKsEOEeWqs+w2wByh /Vyyx+OA6JmRvGQlvRKef0HP/YdGkv2siReoWbw1W8pjiuqYB62wVa2eFxYh/j4LNm 60W9rYY6bJIIe+FKRt3xKjb1fKmEGywqYbMZ7DoY= From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/96307] [10/11 Regression] ICE in sanopt on riscv64 since r11-2283-g2ca1b6d009b194286c3ec91f9c51cc6b0a475458 Date: Wed, 05 Aug 2020 03:52:46 +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-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kito at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 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 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: Wed, 05 Aug 2020 03:52:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96307 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilson at gcc dot gnu.org --- Comment #2 from Jim Wilson --- It is calling targetm.asan_shadow_offset which is a null function pointer currently for RISC-V. This is related to Kito's recent patch to re-enable = ksan support when asan_shadow_offset isn't defined. But it looks like there are multiple params that can cause asan_shadow_offset to be called for ksan whe= n it normally isn't. So this change may need to be removed. Good news is that we have a patch to add asan support for RISC-V which would make Kito's toplev.c patch unnecessary for us.=