On Fri, Apr 08, 2016 at 11:32:34AM +0200, Tom de Vries wrote:
> Patch updated as attached.
>
> OK for stage4/stage1 trunk?
Ok for stage4, thanks.
> Remove incorrect warning for parallel implicit firstprivate clause
>
> 2016-03-24 Tom de Vries
>
> * omp-low.c (lower_omp_target): Set TR
On 05/04/16 17:44, Jakub Jelinek wrote:
On Tue, Apr 05, 2016 at 12:17:16PM +0200, Tom de Vries wrote:
On 24/03/16 18:02, Tom de Vries wrote:
Remove incorrect warning for parallel firstprivate clause
2016-03-24 Tom de Vries
* omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oac
On Tue, Apr 05, 2016 at 12:17:16PM +0200, Tom de Vries wrote:
> On 24/03/16 18:02, Tom de Vries wrote:
> >Remove incorrect warning for parallel firstprivate clause
> >
> >2016-03-24 Tom de Vries
> >
> > * omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oacc
> > firstprivate clause.
On 24/03/16 18:02, Tom de Vries wrote:
Hi,
This patch fixes an incorrect warning for the oacc firstprivate clause.
Consider this test-case:
...
void
foo (void)
{
int i;
#pragma acc parallel
{
i = 1;
}
}
...
When compiling with -fopenacc -Wuninitialized, we get an 'is used
unini
Hi,
This patch fixes an incorrect warning for the oacc firstprivate clause.
Consider this test-case:
...
void
foo (void)
{
int i;
#pragma acc parallel
{
i = 1;
}
}
...
When compiling with -fopenacc -Wuninitialized, we get an 'is used
uninitialized' warning for variable 'i', which i