From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Nicolas =?UTF-8?Q?B=C3=A9rtolo?= Newsgroups: gmane.emacs.bugs Subject: bug#41615: [feature/native-comp] Dump prettier C code. Date: Mon, 1 Jun 2020 20:11:44 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41615@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 02 01:13:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jftcG-00034x-NR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jun 2020 01:13:12 +0200 Original-Received: from localhost ([::1]:48664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jftcF-0000Ok-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jun 2020 19:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jftc6-0000Mt-5w for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 19:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jftc5-0005ny-Sl for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 19:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jftc5-0004Ub-Jn for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 19:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas =?UTF-8?Q?B=C3=A9rtolo?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2020 23:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41615 X-GNU-PR-Package: emacs Original-Received: via spool by 41615-submit@debbugs.gnu.org id=B41615.159105312317204 (code B ref 41615); Mon, 01 Jun 2020 23:13:01 +0000 Original-Received: (at 41615) by debbugs.gnu.org; 1 Jun 2020 23:12:03 +0000 Original-Received: from localhost ([127.0.0.1]:37293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jftb9-0004TQ-EK for submit@debbugs.gnu.org; Mon, 01 Jun 2020 19:12:03 -0400 Original-Received: from mail-oo1-f49.google.com ([209.85.161.49]:33094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jftb6-0004Sv-Rr for 41615@debbugs.gnu.org; Mon, 01 Jun 2020 19:12:01 -0400 Original-Received: by mail-oo1-f49.google.com with SMTP id q6so1789531oot.0 for <41615@debbugs.gnu.org>; Mon, 01 Jun 2020 16:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qkeY0o+TYt58oaRKizAKJigWHNEhiLFF90D2CeiY+KA=; b=WIGD17hcYvifVYvzd2hf8wws51hTPUpMQwR90HM2cVMutF/utluxcyqMRox1ATWwya seVmtgDOuevI2RBQxqsZfcxBKUhEFtc/bdRrSQSlTK2xM0qgDkONFo3uUYBEZZWNm743 hOGmJRdKOgG00M7v178A6b1QSSiYeCtSleb11cHA1OhAjVke4J1y0crU0FW7F/pA7oOe kGdsjcVXwip/8rZK6Yg/u5i3dgL6UdubED+yJqCZtm4RvtwCN+bJ9SajvnYaKWYyQ5Q3 hAqAFHNaSeB8PeavVD15NP/POqQC+QPyVEkRmGoJ7VK45Qjzmvb8zhB90khwldkzh3hu WF8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qkeY0o+TYt58oaRKizAKJigWHNEhiLFF90D2CeiY+KA=; b=OGKMixs6nM6LoZD/wKkrZ08XiPQ+gSwzQHQdCXh8quCNxo1CdVS7PcnlGvMf96s1Dn AfdSt+6GVX4A2ElnF0CN+tn3nEEPfwAUS6YAcWXxohRleu31mm7VykePbG7+p+tVI7kq CawNXngNsOVBItmMGeJvhLsWv4k86Cxg7SmTyNaKh+MyJKR9KSCfG3RpO095X2fO0Dfx CePPaQho6olycja++E7zrs2ScjwNi+/kZKHGw136Cjwis07EDUQ8FYh2eG8Q+2+7jyAG GLg3wmbUsdG3ziukGGEB82Ejrbl/5V6PtYTSPBFx1qS7x4KGohoNZAjDjVcqVzy6NW+c ul/w== X-Gm-Message-State: AOAM530MDFyD9L/spPrUhWHQRfKNfW/0VbhKIwCVTCyUbuCAeg3jnzpz wvvbA9NiAeAyeBSzqmNH8HvC/zzQnZkHn642FxQ= X-Google-Smtp-Source: ABdhPJyjNqH9gA2eV27oLI+Hwff8MzZj0XUnyOUc1hwfJfYECgAdKeygO3wbp70WxF/dylbOOQeFCmlDbyHTuZR5ZTU= X-Received: by 2002:a4a:ad0d:: with SMTP id r13mr18642474oon.22.1591053115211; Mon, 01 Jun 2020 16:11:55 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181384 Archived-At: > As I commented early I think this would be not ideal. The trick of the > negation is done already in emit_cond_jump and regarding the cast > operation I think is important to keep the C semantic (that is the one > we have). Sorry, my bad. I reread your emails and I understood them backwards. I thought you didn't mind conversions that discarded data for integer->integer casts. > We should take what is now cast_type (add the sign information) call it > something like comp_type and use it allover. So that when we initialize > a type all the information is in one place and is not duplicated. > If you like to pick this task would be very welcome. I'm still chasing the bug that causes Emacs to crash when accessing the all_loaded_comp_units_h weak hash table. When I finish with it I will take a look at this. Thanks Nico