This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30421] incorrect warning when using firstprivate and lastprivate clauses
- From: "kuba at et dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2007 00:02:56 -0000
- Subject: [Bug middle-end/30421] incorrect warning when using firstprivate and lastprivate clauses
- References: <bug-30421-10151@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from kuba at et dot pl 2007-01-28 00:02 -------
Subject: Re: incorrect warning when using
firstprivate and lastprivate clauses
I realised that maybe is just better to set
TREE_NO_WARNING (fd->v) = 1;
instead of set it (fd->v) to 0.
We are sure that fd->v won't be read before is set, so there is no need
to add one more instruction.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30421