On Tue, Dec 23, 2008 at 12:10 PM, bearophile <[email protected]> wrote: > Walter Bright: >> I didn't know gcc had pure functions. It doesn't have immutable data. If >> it does optimize with it, you can try it and see! > > It seems to work: > [...] > As you can see now there's just one call to bar. > > Bye, > bearophile >
Does GCC complain if you do something clearly impure inside bar? --bb
