From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25747 invoked by alias); 13 Apr 2005 18:30:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25671 invoked by uid 48); 13 Apr 2005 18:30:01 -0000 Date: Wed, 13 Apr 2005 18:30:00 -0000 Message-ID: <20050413183001.25666.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050317082132.20514.aoliva@gcc.gnu.org> References: <20050317082132.20514.aoliva@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/20514] hoisting of label out of jumptable would take place at cse, should happen at trees X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg01776.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-13 18:30 ------- Two things, we just don't jump thread. Another testcase: int i; int main() { for (;;) { switch (i) { case 5: i = 4; break; default: return 0; } } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20514