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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
            Summary|String Concatenation and    |String Concatenation,
                   |Side-Effect Inducing        |Commutativity, and
                   |Functions                   |Side-Effect Inducing
                   |                            |Functions

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In c++ (before c++17 were the rules changed), the order of evulatating function
calls and the operator+ is not defined by the standard.   

Only , (in a non argument form) causes a sequence point inside an expression
and even then you could have ordering issues still.

Reply via email to