This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suboptimal __restrict optimization?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]