On Fri, 26 Aug 2016, Prathamesh Kulkarni wrote:
> Hi Richard,
> I was trying to have a look at PR35503.
> The attached patch tries to warn when an argument is passed to a
> restrict-qualified parameter
> and the argument could alias with other argument.
>
> For the following test-case:
> int f2(i
Hi Richard,
I was trying to have a look at PR35503.
The attached patch tries to warn when an argument is passed to a
restrict-qualified parameter
and the argument could alias with other argument.
For the following test-case:
int f2(int *restrict x, int *y);
void f(void)
{
int a;
f2 (&a, &a);