Re: [PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-05-11 Thread H.J. Lu
On Thu, Mar 10, 2011 at 8:23 PM, Nathan Froyd wrote: > Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR.  Nothing to > see here. > > -Nathan > > gcc/ >        * tree.def (CASE_LABEL_EXPR): Add an operand. >        * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. > This cause

Re: [PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-05-11 Thread Richard Guenther
On Tue, May 10, 2011 at 9:01 PM, Diego Novillo wrote: > On Fri, Mar 11, 2011 at 10:19, Richard Guenther > wrote: >> On Fri, Mar 11, 2011 at 5:23 AM, Nathan Froyd >> wrote: >>> Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR.  Nothing to >>> see here. >> >> I wonder if there isn't a bet

Re: [PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-05-10 Thread Diego Novillo
On Fri, Mar 11, 2011 at 10:19, Richard Guenther wrote: > On Fri, Mar 11, 2011 at 5:23 AM, Nathan Froyd > wrote: >> Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR.  Nothing to >> see here. > > I wonder if there isn't a better way to do this ... like always requiring > operand 2 of SWITC

Re: [PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-05-10 Thread Nathan Froyd
On Fri, Mar 11, 2011 at 02:19:14PM +0100, Richard Guenther wrote: > On Fri, Mar 11, 2011 at 5:23 AM, Nathan Froyd > wrote: > > Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR.  Nothing to > > see here. > > I wonder if there isn't a better way to do this ... like always requiring > opera

Re: [PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-03-11 Thread Richard Guenther
On Fri, Mar 11, 2011 at 5:23 AM, Nathan Froyd wrote: > Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR.  Nothing to > see here. I wonder if there isn't a better way to do this ... like always requiring operand 2 of SWITCH_EXPRs. Richard. > -Nathan > > gcc/ >        * tree.def (CASE_LAB

[PATCH 12/18] make CASE_LABEL_EXPR not abuse TREE_CHAIN

2011-03-10 Thread Nathan Froyd
Move CASE_CHAIN into a local operand for CASE_LABEL_EXPR. Nothing to see here. -Nathan gcc/ * tree.def (CASE_LABEL_EXPR): Add an operand. * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. diff --git a/gcc/tree.def b/gcc/tree.def index eb94ad2..9c6606d 100644 --- a/g