This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61112] Simple example triggers false-positive -Wmaybe-uninitialized warning
- From: "patrick at parcs dot ath.cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 May 2014 14:08:35 +0000
- Subject: [Bug middle-end/61112] Simple example triggers false-positive -Wmaybe-uninitialized warning
- Auto-submitted: auto-generated
- References: <bug-61112-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112
--- Comment #1 from patrick at parcs dot ath.cx ---
$ gcc -O2 -Wall this.c
this.c: In function âvoid foo(int, int, int)â:
this.c:13:10: warning: âwâ may be used uninitialized in this function
[-Wmaybe-uninitialized]
p = w;