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

Eli Friedman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #3 from Eli Friedman <[email protected]> 2011-05-06 01:54:35 
CDT ---
(In reply to comment #2)
> As far as I know reordering volatiles is perfectly valid.  You need a memory
> barrier if you want to enforce ordering.

>From LangRef: "The optimizers must not change the number of volatile operations
or change their order of execution relative to other volatile operations."

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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