Bug 77493
Summary: | cout output is out of order | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Paisa Seeluangsawat <paisa> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-11-07 22:42:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paisa Seeluangsawat
2002-11-07 22:42:22 UTC
No, it is correct. When calling ostream::operator<<(int) there is no sequence point between evaluation of ostream (together with the other operator<<(int)) and i++. Use at most one ++ or -- between each two sequence points to avoid this. |