------- Comment #4 from dnovillo at acm dot org 2007-05-08 15:39 ------- Subject: Re: Loop IM and other optimizations harmful for -fopenmp
On 8 May 2007 14:30:45 -0000, pinskia at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-08 15:30 > ------- > WTF, this is just sad we have to disable optimizations because openmp folks > don't know how to program threaded code. No need to be insulting. Another possibility is to require shared variables to be declared volatile. It depends on the wording in the standard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31862