[Bug c++/49679] Increment/decrement operator (++/--) not working as expected

2011-07-08 Thread jordan_2000 at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49679 --- Comment #3 from Jordan 2011-07-08 18:32:55 UTC --- I know the warnings, but look the code a+=++a+a++; b+=++b+b++; cout << "a=" << a << endl << "b=" << b << endl; cin >> a; a and b must be the same. if i re

[Bug c++/49679] New: Increment/decrement operator (++/--) not working as expected

2011-07-08 Thread jordan_2000 at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49679 Summary: Increment/decrement operator (++/--) not working as expected Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Compon