http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50142
Bug #: 50142
Summary: There is bug when swap elements of an array via chain
expression.
Classification: Unclassified
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50142
--- Comment #2 from ZHAO Xiaogang 2011-08-22
00:36:34 UTC ---
(In reply to comment #1)
> Evaluation order is undefined since there is no sequence point involved.
I don't think so.
The associativity of operator ^= is Right to Left.
I have build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50142
ZHAO Xiaogang changed:
What|Removed |Added
Severity|critical|trivial
--- Comment #4 from ZHAO Xiaogang