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

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

bug#56641: closed (Deprecate `lsh`)


From: GNU bug Tracking System
Subject: bug#56641: closed (Deprecate `lsh`)
Date: Sat, 23 Jul 2022 10:33:02 +0000

Your message dated Sat, 23 Jul 2022 12:32:24 +0200
with message-id <4C2D62F6-0581-4E0D-8C2A-AC5235C976A5@acm.org>
and subject line Re: bug#56641: Deprecate `lsh`
has caused the debbugs.gnu.org bug report #56641,
regarding Deprecate `lsh`
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
56641: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56641
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Deprecate `lsh` Date: Tue, 19 Jul 2022 15:38:29 +0200
The function `lsh` works almost like `ash` but is much slower, cannot be 
constant-folded by the compiler, and above all has confusing semantics for 
historical reasons. Using `lsh` instead of `ash` is always a mistake.

For these reasons we should deprecate `lsh`. It is not important to remove it 
as soon as possible, but to dissuade people from accidentally using it in their 
code.




--- End Message ---
--- Begin Message --- Subject: Re: bug#56641: Deprecate `lsh` Date: Sat, 23 Jul 2022 12:32:24 +0200
There is now a compiler warning about calls to `lsh`.

Although we usually defer changes in verilog-mode.el to the maintainer for 
keeping in sync with the upstream version, I made the necessary (trivial) 
adjustments to keep warnings away.



--- End Message ---

reply via email to

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