This is the mail archive of the gcc-help@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: execution order


Hi "Kövesdi,

> which is not as expected. I think that this execution order is not correct.
> Is it a gcc-problem or I misunderstand something?

I believe the optimizer can re-order those things, if it can determine that
they are not inter-dependent.  Hence, the optimizing compiler can guarantee
that the code is correct.

HTH,
--Eljay


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