http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45838

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-16 
12:13:53 UTC ---
Ah, hppa uses GOMP_atomic_{start,end}, and the leaf attribute makes fre think
it is ok to cache static var values for non-addressable vars across calls.  In
OpenMP, as they can be accessed by multiple threads, they can't be cached
across barrier points.  So I'll jus remove the leaf attribute from most of the
GOMP builtins that are barriers (and conservatively the starts too).  I've left
out just the omp_* functions and *_nowait.

Reply via email to