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: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 May 2007 18:45: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 #8 from pinskia at gmail dot com 2007-05-08 19:45 -------
Subject: Re: Loop IM and other optimizations harmful for -fopenmp
On 8 May 2007 18:08:26 -0000, jakub at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #7 from jakub at gcc dot gnu dot org 2007-05-08 19:08 -------
> This really is not specific to OpenMP, I believe the following is valid
> threaded program:
This is not a valid program. You have to introduce mutexes to get it
to be a valid program with threads. This is a common misunderstanding
of thread programming.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31862