This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-08 17:55:35 UTC ---
You are invoking undefined behavior because C++ does not specify what order of
the operands happen first.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]