public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/61409] [4.9/5 regression] -Wmaybe-uninitialized false-positive with -O2
Date: Fri, 13 Feb 2015 03:34:00 -0000	[thread overview]
Message-ID: <bug-61409-4-5d9odSwFDJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61409-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409

--- Comment #13 from Jeffrey A. Law <law at redhat dot com> ---
So we don't thread this case because of the limits we place on the number of
statements in the duplicated block.

If --param max-jump-thread-duplication-stmts=16 is added to the command line,
jump threading will kick in creating the pseudo-code I posted in c#11.  For
reference, the default value of that param is 15.

What I don't understand from c#4 is uninit can't simplify this condition:

if (_35 == 4611686018595160064 (.AND.)  (.NOT.) _31 != 5) is false

While we may not know the full condition, does realizing that the (*.NOT.) _31
!= 5 is totally pointless help?


  parent reply	other threads:[~2015-02-13  3:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04  7:40 [Bug c/61409] New: [4.9 " eggert at gnu dot org
2014-06-04  9:29 ` [Bug c/61409] " manu at gcc dot gnu.org
2014-06-04  9:59 ` manu at gcc dot gnu.org
2014-06-04 10:31 ` [Bug middle-end/61409] [4.9/4.10 " rguenth at gcc dot gnu.org
2014-06-04 15:28 ` eggert at gnu dot org
2014-06-04 15:57 ` manu at gcc dot gnu.org
2014-06-25 13:26 ` jakub at gcc dot gnu.org
2014-06-25 13:30 ` jakub at gcc dot gnu.org
2014-06-26 12:45 ` rguenth at gcc dot gnu.org
2014-07-16 13:31 ` jakub at gcc dot gnu.org
2014-10-30 10:43 ` [Bug middle-end/61409] [4.9/5 " jakub at gcc dot gnu.org
2015-02-12 23:04 ` law at redhat dot com
2015-02-12 23:54 ` law at redhat dot com
2015-02-13  2:39 ` law at redhat dot com
2015-02-13  3:34 ` law at redhat dot com [this message]
2015-03-02 19:25 ` manu at gcc dot gnu.org
2015-06-26 20:09 ` [Bug middle-end/61409] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:35 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61409-4-5d9odSwFDJ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).