Re: [patch] PR53153

2012-05-02 Thread Steven Bosscher
On Wed, May 2, 2012 at 12:14 PM, Richard Guenther wrote: > On Wed, May 2, 2012 at 10:32 AM, Steven Bosscher > wrote: >> Hello, >> >> The attached patch fixes PR53153. >> >> The problem is that tree-ssa-forwprop.c propagates away a cast, but >> leaves out-of-range case labels in the switch. Befor

Re: [patch] PR53153

2012-05-02 Thread Richard Guenther
On Wed, May 2, 2012 at 10:32 AM, Steven Bosscher wrote: > Hello, > > The attached patch fixes PR53153. > > The problem is that tree-ssa-forwprop.c propagates away a cast, but > leaves out-of-range case labels in the switch. Before my patch for > r186579, the code in stmt.c would remove such case l