This is the mail archive of the gcc-bugs@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: volatile is not volatile enough


On Wed, Jun 25, 2003 at 03:20:57PM +0200, Jan Engelhardt wrote:
>   func2(func1(a), a[0], a[1]);

This is not a bug. Evaluation order of function arguments is undefined,
i.e. it is perfectly legal to compute a[0] and a[1] before calling func1. 

    regards  Christian

-- 
THAT'S ALL FOLKS!


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