Re: [PATCH] Untested #pragma acc declare fix

2016-10-07 Thread Nathan Sidwell
On 10/07/16 08:21, Jakub Jelinek wrote: Hi! During review of Martin's -fsanitize-use-after-scope patch, I've noticed what I believe is a bug in #pragma acc declare support. In particular, the oacc_declare_returns has been added next to the CLOBBER additions, but the clobbers are guarded with ma

[PATCH] Untested #pragma acc declare fix

2016-10-07 Thread Jakub Jelinek
Hi! During review of Martin's -fsanitize-use-after-scope patch, I've noticed what I believe is a bug in #pragma acc declare support. In particular, the oacc_declare_returns has been added next to the CLOBBER additions, but the clobbers are guarded with many conditions, e.g. aren't emitted with -f