Commit Message

Hello Everyone,
This patch below should fix the bug reported in PR 57541. The following statements were not caught by the array notation expander, and they should be caught and replaced with zero nodes:
A[:];
A[x:y];
A[x:y:z];
Here are the Changelogs
gcc/c/ChangeLog
2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-array-notation.c (expand_array_notation_exprs): Added
ARRAY_NOTATION_REF case.
gcc/testsuite/ChangeLog
2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
PR middle-end/57541
* c-c++-common/cilk-plus/AN/pr57541.c: New test case.
... and the patch cut and pasted below:
Since this is a trivial patch, I will commit this in. I am willing to revert it (and/or fix it) if anyone has objections.
Thanks,
Balaji V. Iyer.