On Wed, Aug 28, 2013 at 7:12 AM, Paulo Matos <pmatos@xxxxxxxxxxxx> wrote: > > Now that you mentioned it I did look into bugzilla but didn't find any report that matches my concern. However, there are indeed a few bugs regarding restrict. > So, given your reply I guess you support the view that this is a gcc missed optimization instead of a problem in my interpretation of restrict. > > > Paulo Matos > Hi Paulo - I'm not an expert with restrict, but I am also under the impression that this is a missed optimization. Unless something has changed in the standard wrt restrict, it is at least curious that gcc used to (I think even up to 4.7) optimize this well. Brian