This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] Adding switch support to the gimplifier
After some debating with Diego we decided that a gs_case_label is not
the way to go (for now).
The problem we encountered is that if we make a gs_case_label with
high and low values, and then use case_label_exprs in the switch
statement there would be a duplication of the high and low values. If
we used the gs_case_labels in the switch statement, that would be
inconsistent with how gs_cond currently works.
So unless there is a better idea - we can just stick with the way it's
currently done.
On 7/11/07, Christopher Matthews <chrismatthews@google.com> wrote:
Committed. Thanks!
On 7/11/07, Diego Novillo <dnovillo@google.com> wrote:
> On 7/11/07 5:00 PM, Christopher Matthews wrote:
> > Changes made - and double spacing added near the functions I added :)
>
> Perfect. This is OK, thanks.
>