This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: volatile is not volatile enough
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Hirogen2 <hirogen2 at gmx dot de>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jun 2003 15:20:59 +0100
- Subject: Re: volatile is not volatile enough
- Organization: Codesourcery LLC
- References: <Pine.LNX.4.53.0306251515330.27252@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
func2(func1(a), a[0], a[1]);
The ordering of these three argument evaluations is unspecified.
They can be performed in any order, or even interleaved.
Not a compiler bug
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk