On 05/04/16 12:16, Tom de Vries wrote:
On 24/03/16 17:59, Tom de Vries wrote:
Hi,
This patch fixes an incorrect warning for the oacc copy clause.
Consider this test-case:
...
void
foo (void)
{
int i;
#pragma acc kernels
{
i = 1;
}
}
...
When compiling with -fopenacc -Wuninitia
On 24/03/16 17:59, Tom de Vries wrote:
Hi,
This patch fixes an incorrect warning for the oacc copy clause.
Consider this test-case:
...
void
foo (void)
{
int i;
#pragma acc kernels
{
i = 1;
}
}
...
When compiling with -fopenacc -Wuninitialized, we get an 'is used
uninitialized'
Hi,
This patch fixes an incorrect warning for the oacc copy clause.
Consider this test-case:
...
void
foo (void)
{
int i;
#pragma acc kernels
{
i = 1;
}
}
...
When compiling with -fopenacc -Wuninitialized, we get an 'is used
uninitialized' warning for variable 'i', which is confusi