On 07/17/2009 03:26 PM, Richard Guenther wrote:
Where can this be fixed? I currently have a hack to not strip
restrict qualifiers in decay_conversion, but that feels a little
too hackish. What's the important piece of decay_conversion
that is necessary for indirect refs?
Well, I'd start by ma
The C++ frontend drops qualifiers when performing pointer dereference:
void foo(int * __restrict p, int * __restrict__ q, int i)
{
*q = p[i];
}
;; Function void foo(int*, int*, int) (null)
;; enabled by -tree-original
<>>
>>;
while this isn't a big issue for the plain *q (the cast is stripp