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: Sun, 31 May 2020 12:42:10 -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="93473"; 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 Sun May 31 17:43:13 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 1jfQ7E-000OEm-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 17:43:12 +0200 Original-Received: from localhost ([::1]:35908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfQ7D-00037Z-RO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 11:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfQ74-00037I-Sb for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 11:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfQ74-0003yl-Dm for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfQ74-0006WU-C3 for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 11:43:02 -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: Sun, 31 May 2020 15:43:02 +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.159093975125035 (code B ref 41615); Sun, 31 May 2020 15:43:02 +0000 Original-Received: (at 41615) by debbugs.gnu.org; 31 May 2020 15:42:31 +0000 Original-Received: from localhost ([127.0.0.1]:33631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfQ6Y-0006Vj-Tq for submit@debbugs.gnu.org; Sun, 31 May 2020 11:42:31 -0400 Original-Received: from mail-oi1-f171.google.com ([209.85.167.171]:42383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfQ6W-0006VV-Dj for 41615@debbugs.gnu.org; Sun, 31 May 2020 11:42:28 -0400 Original-Received: by mail-oi1-f171.google.com with SMTP id l6so6904171oic.9 for <41615@debbugs.gnu.org>; Sun, 31 May 2020 08:42:28 -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=5axt6wKG6GFRE0ieTWYgzj11QY0P8gkhHxWyX7FRbNw=; b=Igo9uV5GB1WGuX4E8tv8tTu0ooVW3h4aWZShjjsqhfGZmg3A7ULMWLObsdy2i2+fTB LOT7ptUK+17W4zNRIPbs6mgTGf9OS75CEQEeFj6C4i10USAUBQ0jvRkJ1uqUVg8HWG6c WZQfsJAUdCAadJyT7lWTmFX0xfKeR3O43sANJZXvHqg/DgNgIgC//XpHbXIJgiOap5gC QfY9gRuYOis/KvfK6rrIkZajF3nM812R5ydWqxZ6yCKSjFF9tOdvRAky8gPp2P94zKg/ yavEyT9HtYfPPLkiUILOg8BtqeJiLA/uVubfu/PKEhSNsulvucTITOPyxUYqyKGzGexn 2zHg== 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=5axt6wKG6GFRE0ieTWYgzj11QY0P8gkhHxWyX7FRbNw=; b=OJ1GCestByy1mQ6xYPbJFbzv3k2H+OnUVW08sW0vXNl4vHWuu8yPnmZcc5QsS7iZ2Y /XMJy/NT/eaOFGfxakOPJWX+CykhXl0v6fMxrOhHalj7LGBdmZYaYRBH3JMgHz8R1J+O 9z5iX3gNg+D0OFWsmZFfpCXBol5+hyq4QeZPiUCwGsoRCx5EkmGUCrFmGByn+KqowTee gGOP/vbf1424QB5CSfMqjC9wXAVKrT5hZbg15x6evlnfdeDfP7RiLtq4XfFuSS/StP6+ FHlM4WiNyqAsay8s7FZuGrVAKW4kuOkyZeWy9Rvf4E9WG7g18PgNn2eS3FQSOZW02HoW AJLA== X-Gm-Message-State: AOAM530bhulhJX48SS06ffu94PEIKVdcx4EDyqSDhwIjWJ+DGRXMGv8s QT8RaBIJ5KFZb9jtBrgLrC2N95mOe8k/ipiNf9e1/XwVke4= X-Google-Smtp-Source: ABdhPJyjA1wVE+Drm0eBgyA9GvRkzIM0hDeZNO/zuNitvEXbJAe5WeG+Wh8s80iwXpNiU+vu3sx+RnltE/DtldwJWbQ= X-Received: by 2002:aca:b742:: with SMTP id h63mr767090oif.65.1590939742619; Sun, 31 May 2020 08:42:22 -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:181291 Archived-At: > I like the idea of the patch. I've tested it too and I do not see > compile time overhead. Good :). > On the subject of 'emit_coerce' in case you like to do more work in the > area I think would be good to have an additional boolean parameter > called like 'safe'. > If this is true and we cast from a smaller size to a bigger one we > should zero the cast union first. In case false we should raise an ICE. Ok, will try that. I will reuse the definition of naive_bzero() from the other patch. I will post an updated patch soon. Nico.