This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71974] Warning: uninitialized variable with OpenMP nested loops
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Aug 2017 21:54:15 +0000
- Subject: [Bug c++/71974] Warning: uninitialized variable with OpenMP nested loops
- Auto-submitted: auto-generated
- References: <bug-71974-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71974
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, openmp
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-08-24
CC| |egallager at gcc dot gnu.org
Blocks| |24639
Ever confirmed|0 |1
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Rafael Guglielmetti from comment #1)
> With gcc 6.1.1, the above code gives rise to the error:
> error: condition expression refers to iteration variable ‘i’
>
> So I suppose my syntax was incorrect. It is annoying tough.
Do you have a version of your code that avoids that error? I get it, too, and
so I can't reproduce the warning with that error there... WAITING on a valid
testcase.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues