https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62008

--- Comment #1 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Fri Aug 22 09:37:01 2014
New Revision: 214305

URL: https://gcc.gnu.org/viewcvs?rev=214305&root=gcc&view=rev
Log:
PR other/62008
gcc/c/
    * c-parser.c (c_parser_array_notation): Check for correct
    type of an array added.

gcc/cp/
    * cp-array-notation.c (build_array_notation_ref): Added correct
    handling of case with incorrect array.

gcc/testsuite/
    * c-c++-common/cilk-plus/AN/pr62008.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/cilk-plus/AN/pr62008.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-array-notation.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to