This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/72781] -Wuninitialized false positives in OpenMP code
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Aug 2016 19:47:07 +0000
- Subject: [Bug middle-end/72781] -Wuninitialized false positives in OpenMP code
- Auto-submitted: auto-generated
- References: <bug-72781-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72781
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Aug 8 19:46:36 2016
New Revision: 239249
URL: https://gcc.gnu.org/viewcvs?rev=239249&root=gcc&view=rev
Log:
PR middle-end/72781
* omp-low.c (lower_lastprivate_clauses): Set TREE_NO_WARNING on the
private vars for lastprivate and for linear iterator.
* gcc.dg/gomp/pr72781.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/gomp/pr72781.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog