This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27233] incorrect xor result on arrays
- From: "raphael dot ribas at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Apr 2006 01:01:31 -0000
- Subject: [Bug c/27233] incorrect xor result on arrays
- References: <bug-27233-12555@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from raphael dot ribas at gmail dot com 2006-04-21 01:01 -------
int main() {
int a,b;
a=5;
b=7;
a^=b^=a^=b;
printf("%d %d\n",a,b);
return 0;
}
than why this one produces expected answer?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27233