[LLVMdev] Another missed optimization opportunity?

Cameron McInally cameron.mcinally at nyu.edu
Wed Apr 24 12:14:11 PDT 2013


On Wed, Apr 24, 2013 at 2:48 PM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
...

> 6.7.3 Type qualifiers
>
> 5 If an attempt is made to modify an object defined with a const-qualified
> type through use of an lvalue with non-const-qualified type, the behavior
> is undefined. If an attempt is made to refer to an object defined with a
> volatile-qualified type through use of an lvalue
> with non-volatile-qualified type, the behavior is undefined.
>
>
I stand corrected. Thanks, Krysztof.

-Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130424/eb7faa21/attachment.html>


More information about the llvm-dev mailing list