[Bug c++/38516] New: Binary operator ^= doesn't work well for class members

2008-12-13 Thread calliari at gmail dot com
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



[Bug c++/38516] Binary operator ^= doesn't work well for class members

2008-12-13 Thread calliari at gmail dot com


-- 

calliari at gmail dot com changed:

   What|Removed |Added

   Severity|normal  |major
  Known to work||3.3.6
Summary|Binary operator ^= doesn't  |Binary operator ^= doesn't
   |work well for class members |work well for class members


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38516