http://llvm.org/bugs/show_bug.cgi?id=2959
Neil Booth <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
--- Comment #7 from Neil Booth <[EMAIL PROTECTED]> 2008-10-28 08:56:39 ---
I apologise, I misread the code entirely. It is indeed unspecified whether the
result is 1 or 2: it depends which operand is evaluated first. I'd initially
misread it and thought it didn't matter. In particular
b++ + f()
is 0 + 1 if the "b++" is calculated before the f() call; it is 1 + 1 if the
"b++" is calculated after the f() call.
Sorry for the noise.
--
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