From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6ADB43858423; Tue, 14 Mar 2023 14:42:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6ADB43858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678804930; bh=8k2+6l1asP7nDBoHBZiHWaFzqiyhuBtaxMIxxq8PHFg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=URd7cIlfkdbT5qskTb1Cc0xhIZEsL7z2ngA2cughyql+BOBlKd/uDUt14jKVxSTvX VOWRkkfQu24iO0DQ0VQ+xdFkOv2ZX4+uGQPhk/EF2hHq6ZFGN7kAwOdkFf4rOFdz9B rJyJYaAlKP5hJA0jfMKPWIN+Fac7gZhN+UoutuWw= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109122] std::ranges::find segfaults with gcc (trunk but not 12.2) on godbolt Date: Tue, 14 Mar 2023 14:42:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D109122 --- Comment #3 from Marek Polacek --- Ah, looks like we're trying to print a name of a TYPE_PTRMEMFUNC_P, but it doesn't have one; build_ptrmemfunc_type has: 11025 /* Zap out the name so that the back end will give us the debugging 11026 information for this anonymous RECORD_TYPE. */ 11027 TYPE_NAME (t) =3D NULL_TREE;=