http://llvm.org/bugs/show_bug.cgi?id=22802

Michael Kuperstein <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |michael.m.kuperstein@intel.
                   |                            |com
         Resolution|---                         |INVALID

--- Comment #1 from Michael Kuperstein <[email protected]> ---
__attribute__((pure)) functions are assumed not to have any side effects. That
includes writing to memory, even if it's writing through a pointer provided as
a function argument.

Marking this function with "pure" simply doesn't make sense.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to