[LLVMbugs] [Bug 9032] clang gives different results than gcc wrt array element modification evaluation order

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 23 16:50:25 PST 2011


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

Chris Lattner <clattner at apple.com> changed:

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

--- Comment #1 from Chris Lattner <clattner at apple.com> 2011-01-23 18:50:24 CST ---
As you guess, this *is* undefined behavior.  The compilers try their best to
warn about this sort of thing, but there are always cases they will miss.

-- 
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.



More information about the llvm-bugs mailing list