Functions that are CSEable but not pure
Jason Merrill
jason@redhat.com
Thu Oct 4 17:37:00 GMT 2012
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.
Jason
More information about the Gcc
mailing list