Re: Is gcc thread-unsafe?

Andrew Haley
2007-10-26T17:12:29Z

Bart Van Assche writes:

> Andrew, do you know whether gcc currently contains any optimization
> that interchanges the order of accesses to non-volatile variables
> and function calls ?

It sure does.

Andrew.

--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903