From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5B983385840F; Mon, 8 Apr 2024 07:58:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B983385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712563134; bh=xq2s5ObyxPAwmmoQz3iCNyLGP77n0MRc1d8XDEDJPng=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YsS+el5bW6HyJHdAOCtfO5kvpRltIetl9Xn60A21PwUNYoXaqTleftKSFs3CK2s6U dVgizwupFxdQRi9rdb31FtPDiuQfR3npIVcKpDqw3KT9ugdMz3UOG8bw0LVzR8YD2a Jyyg+gFTkfUDxHS6mW/WrD1AMsVNKUCFsbMl1HbE= From: "pierre-emmanuel.patry at embecosm dot com" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/114629] rust-ast-resolve-expr contains bloated code for funny_error Date: Mon, 08 Apr 2024 07:58:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pierre-emmanuel.patry at embecosm dot com 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: 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=3D114629 Pierre-Emmanuel Patry changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pierre-emmanuel.patry@embec | |osm.com --- Comment #2 from Pierre-Emmanuel Patry --- I can see the problem with the message, but I don't think we can remove the behavior as we have to match rustc's behavior. The compiler has to ICE when meeting this identifier. I suggest changing the message to rustc's one "It looks like you're trying to break rust; would you like some ICE?" and remov= ing the "gcc" identifier check. --=20 You are receiving this mail because: You are on the CC list for the bug.=