Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: raphael dot ribas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29545
--- 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
incorrect xor result on arrays
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: raphael dot ribas at gmail dot com
GCC build triplet: