bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26597: 25.1; Compilation error on master with --enable-check-lisp-ob


From: Eli Zaretskii
Subject: bug#26597: 25.1; Compilation error on master with --enable-check-lisp-object-type
Date: Sat, 22 Apr 2017 16:36:11 +0300

> From: Philipp Stephani <address@hidden>
> Date: Sat, 22 Apr 2017 11:57:11 +0000
> 
>  > (Tangentially, is there any reason not to define Lisp_Object as struct
>  > unconditionally, to avoid such coding errors?)
> 
>  Yes, it produces slower code.
> 
> Are you sure that's still the case? I've just diffed the assembly output for 
> editfns.c with and without
> --enable-check-lisp-object-type, they seem identical (apart from minor diffs 
> due to different register allocation
> and instruction ordering). Replacing a primitive value with a struct 
> containing such a value should never
> degrade performance; that would be a compiler bug. 

On what OS/architecture, and with what compiler options?

in any case, if you want to raise this issue, please post to
emacs-devel, not here.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]