This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31862] Loop IM and other optimizations harmful for -fopenmp
- From: "dnovillo at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 May 2007 14:39:31 -0000
- Subject: [Bug tree-optimization/31862] Loop IM and other optimizations harmful for -fopenmp
- References: <bug-31862-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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
<gcc-bugzilla@gcc.gnu.org> 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