Re: Does GIMPLE tree comprise ARRAY_REF/ARRAY_REF_RANGE node

2008-01-02 Thread Richard Guenther
On Jan 2, 2008 3:24 PM, Qing Wei <[EMAIL PROTECTED]> wrote: > Hi, > I find that in the function expand_expr_real_1(), which translates the > GIMPLE tree nodes to RTL. > There are codes to process the ARRAY_REF/ARRAY_REF_RANGE node. I wrote a > test program in C such like this, > > void f(int s1[],

Does GIMPLE tree comprise ARRAY_REF/ARRAY_REF_RANGE node

2008-01-02 Thread Qing Wei
Hi, I find that in the function expand_expr_real_1(), which translates the GIMPLE tree nodes to RTL. There are codes to process the ARRAY_REF/ARRAY_REF_RANGE node. I wrote a test program in C such like this, void f(int s1[], int s2[], int s3[]) { int j; for (j = 0; j < 16; j++) s3[j] = s1[j] + s2