volatile is not volatile enough

Christian Ehrhardt ehrhardt@mathematik.uni-ulm.de
Wed Jun 25 15:17:00 GMT 2003


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!



More information about the Gcc-bugs mailing list