Ulf Magnusson <ulfalizer@gmail.com> 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