Wireshark mailing list archives
Re: About Dead Store in clang Analysis
From: Dirk Jagdmann <doj () cubic org>
Date: Thu, 24 Mar 2011 16:52:32 -0700
(Aside: my attitude to dead stores is that eliminating them is a job for the compiler. The programmer's job is not to micro-optimize things that can be done better by machine, but to structure the code so as to make the semantics as clear as possible. And I think that includes, as already pointed out, leaving things in a clean state for when the next field is added to the end of that tag.)
If only I could have expressed this so good... -- ---> Dirk Jagdmann ----> http://cubic.org/~doj -----> http://llg.cubic.org ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- About Dead Store in clang Analysis Alexis La Goutte (Mar 24)
- Re: About Dead Store in clang Analysis Stephen Fisher (Mar 24)
- Re: About Dead Store in clang Analysis Dirk Jagdmann (Mar 24)
- Re: About Dead Store in clang Analysis Chris Maynard (Mar 24)
- Re: About Dead Store in clang Analysis Jeff Morriss (Mar 24)
- Re: About Dead Store in clang Analysis John Sullivan (Mar 24)
- Re: About Dead Store in clang Analysis Dirk Jagdmann (Mar 24)
- Re: About Dead Store in clang Analysis Guy Harris (Mar 24)
- Re: About Dead Store in clang Analysis Guy Harris (Mar 24)