On Mon, Oct 3, 2011 at 10:22 PM, Ian Lance Taylor <[email protected]> wrote: > Ulf Magnusson <[email protected]> writes: > >> Is there some reason why GCC couldn't generate this code for the first >> version of C::f()? Is this a failure of optimization, or am I missing >> something in how __restricted works? > > It's a failure of optimization. > > Ian >
Is this something that has been improved in 4.6.x? (Sorry for the initial non-reply-all.)
