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++/78929] Incorrect implementation of Refining Expression Evaluation Order for Idiomatic C++


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78929

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm.

I don't think this is still defined according to that paper.

* Postfix expressions are evaluated from left to right. This includes functions
calls and member selection expressions.
* Assignment expressions are evaluated from right to left. This includes
compound assignments.
* Operands to shift operators are evaluated from left to right.


No where included here is binary operator like +.
That is: "++i + ++i" is still undefined as + is not included in the above list.

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