This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/69230] valid -Wmaybe-uninitialized suppressed by -O2
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jan 2016 19:21:34 +0000
- Subject: [Bug middle-end/69230] valid -Wmaybe-uninitialized suppressed by -O2
- Auto-submitted: auto-generated
- References: <bug-69230-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69230
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
switch (i & 2)
i & 2 is either 0 or 2. there is a case for both 0 and 2 in the switch
statement.
So this is invalid.