Re:How to zero a buffer
by pcwalton on Thursday September 04, 2014 @07:27PM
(#8271302)
The trouble with that is that you then have to define what a "legal optimization" is in order for a "don't optimize me" pragma to have any meaning. That can be notoriously difficult and annoying. For example, a common trick in languages with no irreducible control flow is to generate SSA from the AST to avoid having to compute dominance, which in some compiler backends can make things like simple dead code elimination hard to not perform.
[ Parent
| on HN ]
There are no comments on this comment yet.