Re: [PATCH] Don't handle CAST_RESTRICT (PR tree-optimization/49279)

2015-10-29 Thread Richard Biener
On Thu, Oct 29, 2015 at 11:38 AM, Tom de Vries wrote: > [ quote-pasted from https://gcc.gnu.org/ml/gcc-patches/2011-10/msg00464.html > ] > >> CAST_RESTRICT based disambiguation unfortunately isn't reliable, >> e.g. to store a non-restrict pointer into a restricted field, >> we add a non-useless ca

Re: [PATCH] Don't handle CAST_RESTRICT (PR tree-optimization/49279)

2015-10-29 Thread Tom de Vries
[ quote-pasted from https://gcc.gnu.org/ml/gcc-patches/2011-10/msg00464.html ] CAST_RESTRICT based disambiguation unfortunately isn't reliable, e.g. to store a non-restrict pointer into a restricted field, we add a non-useless cast to restricted pointer in the gimplifier, and while we don't con

Re: [PATCH] Don't handle CAST_RESTRICT (PR tree-optimization/49279)

2011-10-06 Thread Richard Guenther
On Thu, 6 Oct 2011, Jakub Jelinek wrote: > Hi! > > CAST_RESTRICT based disambiguation unfortunately isn't reliable, > e.g. to store a non-restrict pointer into a restricted field, > we add a non-useless cast to restricted pointer in the gimplifier, > and while we don't consider that field to have

[PATCH] Don't handle CAST_RESTRICT (PR tree-optimization/49279)

2011-10-06 Thread Jakub Jelinek
Hi! CAST_RESTRICT based disambiguation unfortunately isn't reliable, e.g. to store a non-restrict pointer into a restricted field, we add a non-useless cast to restricted pointer in the gimplifier, and while we don't consider that field to have a special restrict tag because it is unsafe to do so,