From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wfhigh7-smtp.messagingengine.com (wfhigh7-smtp.messagingengine.com [64.147.123.158]) by sourceware.org (Postfix) with ESMTPS id 16D993858CD1 for ; Tue, 9 Apr 2024 07:18:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 16D993858CD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=jakubdupak.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jakubdupak.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 16D993858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=64.147.123.158 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712647130; cv=none; b=BMlj4OKMzBnADbe6XmDe8DCXodiI1F+Dq8mq89C+rJ2D6enXh+7e+v0Ux5fa3c8SZ94gmVnOnUz9HN9jCKYNu5Oa3RX7vnAtXw2+WCdjH1QDRDJ0CTtTbsCqXeRijvyonfBUL8hQH1i7xSphDk6lwtdKLxeNTfvuqSwazsW3Y84= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712647130; c=relaxed/simple; bh=a6SU5AUeoXB37GvtnggSnqinHPG85sHYkiTBmX+BvC0=; h=DKIM-Signature:DKIM-Signature:MIME-Version:Message-Id:Date:From: To:Subject; b=YWbcfq5tB9JmKqqmrszm2nxqSKHAH7X+5Gt5QwY1dzpKBRmDhlSfkAVkh5nzhcW57dOtJWkq5YWgNmZ/eXnZVLDEroqLS703+IlHyVXlJEhqyNCTOrc/eybvDI5p84582XCLKk93Nt3QVIv/85sqUpkw+GidjQsvkX+tcJzh0TM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 6301A1800122 for ; Tue, 9 Apr 2024 03:18:45 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute6.internal (MEProxy); Tue, 09 Apr 2024 03:18:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jakubdupak.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1712647124; x=1712733524; bh=8265GJ0/vE etOS6t2ue7bPiUDtOUr/Ojo85x46G91tE=; b=iZTRDQS7/RNL/DXCXq/Vqac+ld bHmras+QYGiO+xzU15XfED7tpDiohZMp4D6v+2uKpnZcc3E2MsjkUUU9bG+tafJp UPJYZZA6lWhy39Wt4Mz+U6lfvpC5T8eC0BH+z52zBah1XRZW/oFIa5cAZlu5OvDW bVGqQp0CTxw+nSR0bPRGCPQe9bTmcuZCNgn7LAnljJg29E1p+jFq9LeX0/ywnyS9 FvECcZLr51POybDde+6cLJIbhIaRUwkCLMofqaAHpNaL7lq5RSGrS7C2n+ibriA4 I3xZHc+RINgDaZe/1WM7l4ClyNTUiv1gnX7Ir2cVWr8s1QCIZU10Aj3muElg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712647124; x=1712733524; bh=8265GJ0/vEetOS6t2ue7bPiUDtOU r/Ojo85x46G91tE=; b=ixGp7nTTCQrwV1YcyAVBEli+AA58/8ZNkRVtdBaAJBNf qxGTiQhOQTKOXskGfHXSm41tne4RIce8oDVhdk1wLStI/wFe9CAmfxzM911c+DGL cu3+44Zz1oSUtMA0xV8u+gx8d7+JE2C1CYoh9NeJZ193kycLJvvj9xmtg9wknCjl eDH1QU77+eQQnjHyiXOTB5GjFgQ/8r8C2JS1PrBLqzKuDmHkggOwsQYqkGhMd7r3 XVfQgjq/MGHs3u669mF4OJoe9HxKZhfJ5jEK2H/4bG38GO7/3lvh8wlTQNbg4Uil Z4X7s5plR5M88tp3lHnTIvwNmVtLTGv4xGOrr4zEFQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudegkedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedflfgrkhhusgcuffhuphgrkhdfuceouggvvhesjhgrkhhu sgguuhhprghkrdgtohhmqeenucggtffrrghtthgvrhhnpeeihfevffefgfejuddtudefff ekvdehveetgffhuddukedtgeefffehkeeuheelfeenucffohhmrghinhepghhnuhdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeguvg hvsehjrghkuhgsughuphgrkhdrtghomh X-ME-Proxy: Feedback-ID: icfa9476e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9965E2A20090; Tue, 9 Apr 2024 03:18:44 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 MIME-Version: 1.0 Message-Id: <782544ec-0fb3-4823-b73d-653e9eb27ce8@app.fastmail.com> In-Reply-To: References: Date: Tue, 09 Apr 2024 09:18:20 +0200 From: "Jakub Dupak" To: gcc-rust@gcc.gnu.org Subject: Re: [Bug rust/114629] rust-ast-resolve-expr contains bloated code for funny_error Content-Type: multipart/alternative; boundary=a91b0ff9554f4a97baa6f698eab40dbb X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,JMQ_SPF_NEUTRAL,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --a91b0ff9554f4a97baa6f698eab40dbb Content-Type: text/plain There is no specification right now. Just reference implementation. The rustc team is working on it, but it will take a long time and it is not a priority. There is a language reference, but it is far from the completeness you would need from specification. BTW, I think it is funny. On Tue, 9 Apr 2024, at 02:11, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114629 > > --- Comment #5 from Andrew Pinski --- > (In reply to Pierre-Emmanuel Patry from comment #2) > > 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 > > removing the "gcc" identifier check. > > Really this sounds like a bad idea to copy 100% of what rustc does. Instead we > should follow the rust language specification (hopefully that actually exists). > > While you are at it, it would be useful to add a link to the rust langauge > specification (like there is for almost all other languages [I see objective-C > is not listed]) to https://gcc.gnu.org/readings.html . > > -- > You are receiving this mail because: > You are on the CC list for the bug. --a91b0ff9554f4a97baa6f698eab40dbb--