On 01/05/2016 02:15 PM, Chung-Lin Tang wrote:
        * omp-low.c (scan_sharing_clauses): Call add_local_decl() for
        use_device/use_device_ptr variables.

It looks vaguely plausible, but if everything is part of the host function, why make a copy of the decl at all? I.e. what happens if you just remove the install_var_local call?


Bernd

Reply via email to