This is the mail archive of the gcc@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]

Re: optimisation question


Andreas Schwab wrote:

Irrelevant, the assignments can be done in parallel regardless of which
form they are written in. Sequence points create as-if sequencing, but
a compiler can always reorder etc if it has no effect on the result.


Irrelevant, because semicolon is no different from comma in this point.

Absolutely, and neither the semicolon nor the comma generates an obligation to do things in the sequence in which they appear in the code.


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