public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/52267] a&~N where N has all the bits set up till a specific point can be folded to ((unsigned)a) < N Date: Thu, 15 Mar 2012 10:43:00 -0000 [thread overview] Message-ID: <bug-52267-4-iq9lkdsGzw@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52267-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52267 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-15 10:37:31 UTC --- Author: jakub Date: Thu Mar 15 10:37:27 2012 New Revision: 185427 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185427 Log: PR tree-optimization/52267 * tree-vrp.c (masked_increment): New function. (register_edge_assert_for_2): Derive ASSERT_EXPRs from (X & CST1) cmp CST2 tests. * gcc.dg/pr52267.c: New test. * gcc.dg/tree-ssa/vrp65.c: New test. * gcc.dg/tree-ssa/vrp66.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr52267.c trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp65.c trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp66.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c
next prev parent reply other threads:[~2012-03-15 10:37 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-02-16 3:51 [Bug tree-optimization/52267] New: " pinskia at gcc dot gnu.org 2012-02-16 20:40 ` [Bug tree-optimization/52267] " pinskia at gcc dot gnu.org 2012-03-09 4:15 ` pinskia at gcc dot gnu.org 2012-03-09 17:53 ` jakub at gcc dot gnu.org 2012-03-13 17:58 ` jakub at gcc dot gnu.org 2012-03-15 10:43 ` jakub at gcc dot gnu.org [this message] 2012-03-15 12:15 ` jakub at gcc dot gnu.org 2012-03-22 12:53 ` gjl at gcc dot gnu.org 2013-06-29 16:21 ` amylaar at gcc dot gnu.org 2013-06-29 16:24 ` pinskia at gcc dot gnu.org 2013-06-29 20:08 ` amylaar at gcc dot gnu.org 2013-07-04 16:20 ` amylaar 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-52267-4-iq9lkdsGzw@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).