This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38516] New: Binary operator ^= doesn't work well for class members
- From: "calliari at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2008 14:53:02 -0000
- Subject: [Bug c++/38516] New: Binary operator ^= doesn't work well for class members
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
X-Bugzilla-Reason: CC
*** working on gcc version 3.3.6
A swap operation between two integers doesn't works for class members.
i ^= j ^= i ^= j;
after the operation above, "i" will value 0 (zero), if i and j are class
members.
--
Summary: Binary operator ^= doesn't work well for class members
Product: gcc
Version: 4.2.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: calliari at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38516