On 12/28/15 08:46, Nathan Sidwell wrote:
I noticed that the code dealing with bind and nohost clauses in execute_oacc_device_lower looked like:
Forgot the testsuite tweak that went along with the change. nathan
2015-12-28 Nathan Sidwell <nat...@acm.org> * c-c++-common/goacc/routine-nohost-1.c: Adjust expected dump output. Index: gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c =================================================================== --- gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c (revision 231972) +++ gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c (working copy) @@ -9,9 +9,6 @@ int THREE(void) return 3; } -/* { dg-final { scan-tree-dump "Discarding function .THREE. with .nohost. clause" "oaccdevlow" } } */ - - #pragma acc routine nohost extern void NOTHING(void); @@ -19,9 +16,6 @@ void NOTHING(void) { } -/* { dg-final { scan-tree-dump "Discarding function .NOTHING. with .nohost. clause" "oaccdevlow" } } */ - - extern float ADD(float, float); #pragma acc routine (ADD) nohost @@ -31,4 +25,4 @@ float ADD(float x, float y) return x + y; } -/* { dg-final { scan-tree-dump "Discarding function .ADD. with .nohost. clause" "oaccdevlow" } } */ +/* { dg-final { scan-tree-dump-times "Discarding function" 3 "oaccdevlow" } } */