GNU bug report logs - #41615
[feature/native-comp] Dump prettier C code.

Previous Next

Package: emacs;

Reported by: Nicolas Bértolo <nicolasbertolo <at> gmail.com>

Date: Sat, 30 May 2020 15:09:01 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Bértolo <nicolasbertolo <at> gmail.com>
Subject: bug#41615: closed (Re: bug#41615: [feature/native-comp] Dump
 prettier C code.)
Date: Thu, 04 Jun 2020 09:53:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41615: [feature/native-comp] Dump prettier C code.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41615 <at> debbugs.gnu.org.

-- 
41615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41615
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea Corallo <akrl <at> sdf.org>
To: 41615-done <at> debbugs.gnu.org
Subject: Re: bug#41615: [feature/native-comp] Dump prettier C code.
Date: Thu, 04 Jun 2020 09:52:26 +0000
closing

-- 
akrl <at> sdf.org

[Message part 3 (message/rfc822, inline)]
From: Nicolas Bértolo <nicolasbertolo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [feature/native-comp] Dump prettier C code.
Date: Sat, 30 May 2020 12:08:07 -0300
[Message part 4 (text/plain, inline)]
I found two ways to improve the looks of the dumped code.

- Define static data using string literals of at most 200 bytes. This
reduces
  the line count and lets us understand what the static object consists of.

- Define casts using functions. These functions should get always get
inlined.

Thanks, Nico
[Message part 5 (text/html, inline)]
[0002-Define-casts-using-functions.patch (application/octet-stream, attachment)]
[0001-Define-static-data-using-string-literals.patch (application/octet-stream, attachment)]

This bug report was last modified 5 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.