public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/30317] New: VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4 Date: Thu, 28 Dec 2006 12:22:00 -0000 [thread overview] Message-ID: <bug-30317-10053@http.gcc.gnu.org/bugzilla/> (raw) fold and VRP interact badly if we have a range test like if (i > 0 && i <=5) ... as we fold that to if ((unsigned int) i + 0x0ffffffff > 4) ... for which VRP fails to extract a range for i. If we write the range test so that fold doesn't see it, VRP is happy: if (i > 0) if (i <= 5) ... -- Summary: VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30317
next reply other threads:[~2006-12-28 12:22 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-28 12:22 rguenth at gcc dot gnu dot org [this message] 2006-12-28 16:03 ` [Bug tree-optimization/30317] " pinskia at gcc dot gnu dot org 2007-01-20 13:45 ` rguenth at gcc dot gnu dot org 2007-01-21 22:44 ` rguenth at gcc dot gnu dot org 2007-02-06 10:09 ` rguenth at gcc dot gnu dot org 2008-03-28 12:21 ` rguenth at gcc dot gnu dot org 2008-03-28 12:57 ` rguenth at gcc dot gnu dot org 2009-09-26 18:22 ` pinskia at gcc dot gnu dot 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-30317-10053@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: linkBe 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).