From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7942E3858CDA; Thu, 13 Apr 2023 11:34:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7942E3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681385690; bh=qnvIEsyIFu3Ddtn5KDUpEDhJad4kV8bCY5h0+eNmXgw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qUmiGs64Ie1XJR+DOQAP50HE2JE28+JZ8XRBiPYAXonsjJpjwTWRv7XMbJqS6xEfc u4PWqsfwIdi9uIV+sFpOxoxvVcucZ6RiKeG289MDDhsIXab4QQy7vp+FySPwgDiIl+ RFyI8E4jyoNuTBqZr6szRv25J8MiyqdL8XJvLxMs= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109491] [13 Regression] Segfault in tree-ssa-sccvn.cc:expressions_equal_p() Date: Thu, 13 Apr 2023 11:34:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 13.0 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=3D109491 --- Comment #6 from Richard Biener --- Doesn't happen with a cross from x86_64 to powerpc64-suse-linux. I've just used ./configure --target=3Dpowerpc64-suse-linux --enable-languages=3Dc,c++,lto and ./cc1plus -quiet -I include t.ii -mcpu=3Dpower8 -std=3Dc++14 -O2 and yes, it's very slow. I wonder if at the point of the crash e1 or e2 are NULL or whether we have garbage and what the actual hashtable entry / lookup val are. How did you configure?=