Message ID | 1648786.ZSYu5u7iAp@polaris |
---|---|
State | New |
Headers | show |
Index: omp-low.c =================================================================== --- omp-low.c (revision 241326) +++ omp-low.c (working copy) @@ -19850,13 +19850,10 @@ public: {} /* 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 (); }