re PR other/61963 (CilkPlus Array Notation ICE in build_array_notation_ref on malform...
authorIgor Zamyatin <igor.zamyatin@intel.com>
Fri, 1 Aug 2014 17:20:02 +0000 (17:20 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 1 Aug 2014 17:20:02 +0000 (17:20 +0000)
commitffebf50f2f1654dea65d934fd9ad27408ea65434
treeee0116a2ddd454cf8e349191dc8b2112fb838b87
parenta7ee52fba0727d98eadb8b6b9adbf42cf88c0914
re PR other/61963 (CilkPlus Array Notation ICE in build_array_notation_ref on malformed function arguments.)

PR other/61963

gcc/cp/
* parser.c (cp_parser_array_notation): Added check for array_type.

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

From-SVN: r213494
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/pr61963.c [new file with mode: 0644]