This is the mail archive of the
mailing list for the GCC project.
Re: Functions that are CSEable but not pure
On 10/04/2012 01:15 PM, Richard Guenther wrote:
That is, I am confused about the distinction you seem to make between
the static variable 'initialized' and the global 'init_count'.
The distinction is that "initialized" is an implementation detail that
once set is never cleared; it is the mechanism by which only the first
call has side effects.
init_count is a normal user variable.