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 c++/48809] [4.4/4.5/4.6/4.7 Regression] switch statement optimization error Date: Sat, 30 Apr 2011 07:01:00 -0000 [thread overview] Message-ID: <bug-48809-4-xl3kX5oVMZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-48809-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48809 --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-30 06:55:15 UTC --- Author: jakub Date: Sat Apr 30 06:55:11 2011 New Revision: 173208 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173208 Log: PR tree-optimization/48809 * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned type. (gen_inbound_check): Don't compute index_expr - range_min in utype again, instead reuse SSA_NAME initialized in build_arrays. Remove two useless gsi_for_stmt calls. * gcc.c-torture/execute/pr48809.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/pr48809.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-switch-conversion.c
next prev parent reply other threads:[~2011-04-30 7:01 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-04-28 18:32 [Bug c++/48809] New: " andrewcmartin at msn dot com 2011-04-28 18:35 ` [Bug c++/48809] " andrewcmartin at msn dot com 2011-04-28 18:36 ` andrewcmartin at msn dot com 2011-04-28 18:39 ` andrewcmartin at msn dot com 2011-04-28 18:54 ` [Bug c++/48809] [4.4/4.5/4.6/4.7 Regression] " jakub at gcc dot gnu.org 2011-04-29 13:40 ` jakub at gcc dot gnu.org 2011-04-30 6:55 ` jakub at gcc dot gnu.org 2011-04-30 7:01 ` jakub at gcc dot gnu.org [this message] 2011-04-30 7:36 ` [Bug c++/48809] [4.4/4.5 " jakub at gcc dot gnu.org 2011-05-03 16:43 ` [Bug testsuite/48809] " jakub at gcc dot gnu.org 2011-05-03 17:21 ` [Bug testsuite/48809] [4.4 " jakub at gcc dot gnu.org 2011-05-04 9:24 ` jakub at gcc dot gnu.org 2011-05-04 9:43 ` 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-48809-4-xl3kX5oVMZ@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).