This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: execution order
- From: John Love-Jensen <eljay at adobe dot com>
- To: Kövesdi György <kgy at deverto dot hu>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Mon, 24 Sep 2007 06:27:04 -0500
- Subject: 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