public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61112] New: Simple example triggers false-positive -Wmaybe-uninitialized warning
@ 2014-05-08 14:07 patrick at parcs dot ath.cx
  2014-05-08 14:08 ` [Bug middle-end/61112] " patrick at parcs dot ath.cx
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: patrick at parcs dot ath.cx @ 2014-05-08 14:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112

            Bug ID: 61112
           Summary: Simple example triggers false-positive
                    -Wmaybe-uninitialized warning
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: patrick at parcs dot ath.cx

int p;

void
foo (int x, int y, int z)
{
  int w;
  if (x)
    w = z;
  if (y)
    w = 10;

  if (x || y)
    p = w;
}


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-30 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08 14:07 [Bug middle-end/61112] New: Simple example triggers false-positive -Wmaybe-uninitialized warning patrick at parcs dot ath.cx
2014-05-08 14:08 ` [Bug middle-end/61112] " patrick at parcs dot ath.cx
2014-05-08 16:27 ` patrick at parcs dot ath.cx
2021-03-29 19:54 ` cvs-commit at gcc dot gnu.org
2021-03-29 20:03 ` msebor at gcc dot gnu.org
2021-03-30 16:42 ` manu at gcc dot gnu.org
2021-11-30 14:44 ` aldyh at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).