[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-patches
Subject: Re: [patch] Make every GIMPLE switch have a default case, always
From: Steven Bosscher <stevenb.gcc () gmail ! com>
Date: 2012-08-31 18:47:07
Message-ID: CABu31nP9BChYOguhFg4to51QqJYrwN8_rP-_UxbRpAYwLhM_Fg () mail ! gmail ! com
[Download RAW message or body]
Ping!
On Sat, Aug 25, 2012 at 1:14 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> This patch restores the old invariant that every GIMPLE switch has a
> default case. This invariant is only broken by the SJLJ exception
> dispatch code, and it's resulted in some code accepting a switch
> without a default while others still assume there is _always_ a
> default case. The patch enforces the invariant, fixes some fall-out,
> and cleans up the code in a couple of places. It makes the follow-up
> work on switch code generation that I still have planned a bit easier.
>
> Bootstrapped&tested on x86_64-unknown-linux-gnu (with Java to torture
> the exception handling code) and did a non-bootstrap build (including
> Java again) with --enable-sjlj-exceptions. OK for trunk?
>
> Ciao!
> Steven
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic