http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50690
--- Comment #1 from tkoenig at netcologne dot de <tkoenig at netcologne dot de> 2011-10-11 18:03:56 UTC --- To me, the right strategy appears to be to mark the temporary variable as threadprivate if we are within an OMP block. Does this sound right?