On Wed, Mar 22, 2017 at 06:46:35PM +0300, Alexander Monakov wrote: > This patch implements promotion of SIMT private variables if GOMP_SIMT_ENTER > is the only remaining statement where their address is taken, by handling it > similar to ASAN_MARK. > > To avoid rebuilding GOMP_SIMT_ENTER statement from scratch, set argument > slot to a null pointer when the corresponding variable is optimized. > > * tree-ssa.c (execute_update_addresses_taken): Handle GOMP_SIMT_ENTER.
Ok for trunk (if the rest is approved). Jakub