Re: [PATCH][Cilkplus] Array notations as a Condition for If and switch statements

2011-12-21 Thread Andi Kleen
"Iyer, Balaji V" writes: > new file mode 100644 > index 000..833379b > --- /dev/null > +++ b/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/if_test.c > @@ -0,0 +1,162 @@ > +#include > + > +int main (int argc, char **argv) > +{ > + int x = 3, y, z, array[10], array2[10], TwodArray[10][10

[PATCH][Cilkplus] Array notations as a Condition for If and switch statements

2011-12-21 Thread Iyer, Balaji V
Hello Everyone, These patches are for the C-Compiler in Cilkplus branch. It is an extension to the patch given in submission: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01473.html. The first patch will handle cases where array notations are used as condition for if-then-else and switch st