* omp-low.c (pass_oacc_device_lower::gate): New method.
(execute): Always call execute_oacc_device_lower.
From-SVN: r241343
+2016-10-19 Eric Botcazou <ebotcazou@adacore.com>
+
+ * omp-low.c (pass_oacc_device_lower::gate): New method.
+ (execute): Always call execute_oacc_device_lower.
+
2016-10-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/77916
{}
/* opt_pass methods: */
+ virtual bool gate (function *) { return flag_openacc; };
+
virtual unsigned int execute (function *)
{
- bool gate = flag_openacc != 0;
-
- if (!gate)
- return 0;
-
return execute_oacc_device_lower ();
}