--- Comment #11 from jakub at gcc dot gnu dot org 2008-03-13 09:59 ---
Fixed for 4.3.1 and later.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from jakub at gcc dot gnu dot org 2008-03-13 09:58 ---
Subject: Bug 35185
Author: jakub
Date: Thu Mar 13 09:57:34 2008
New Revision: 133165
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133165
Log:
PR middle-end/35185
* omp-low.c (lower_regimplif
--- Comment #9 from jakub at gcc dot gnu dot org 2008-03-13 09:27 ---
Subject: Bug 35185
Author: jakub
Date: Thu Mar 13 09:26:25 2008
New Revision: 133162
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133162
Log:
PR middle-end/35185
* omp-low.c (lower_regimplify
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2008-03-12 17:49 ---
Created an attachment (id=15305)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15305&action=view)
gcc44-pr35185.patch
WIP patch I'm playing with. It just looks for statements that reference
variables with DECL_
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-18 09:41 ---
*** Bug 35247 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #6 from jakub at gcc dot gnu dot org 2008-02-15 21:07 ---
The problem is the regimplifying done by lower_omp_1.
We have
D. = s;
where both of the vars have RECORD_TYPE with TREE_ADDRESSABLE types.
lower_omp_1 sees on the right hand side VAR_DECL with DECL_VALUE_EXPR
(wi->
--- Comment #5 from jakub at gcc dot gnu dot org 2008-02-15 18:58 ---
Simplified testcase:
struct S
{
S ();
~S ();
int s;
};
void bar (S);
void
foo ()
{
S s;
#pragma omp parallel shared (s)
bar (s);
}
Works if s is firstprivate or private, or if it doesn't have user defined