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


On Tue, 01 Feb 2005 18:26:22 +0100, Andreas Schwab <schwab@suse.de> wrote regarding "Re:
optimisation question"

8-) > Here's another 'trick' I learned in those days: use a=b, c=d, e=f; rather
8-) > than a=b; c=d; e=f; (like in the initialisation expression of a for
8-) > loop). "The first version might be executed in parallel. Of course we

8-) And of course it is wrong, because the comma operator creates a sequence
8-) point (but K&R C didn't have sequence points yet).


	A sequence point is (more or less) a situation where the exact order of execution/evaluation is undefined, no? But that's exactly potential parallel execution implies, no?

R.


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