re PR c++/61455 (Internal compiler error, and other confused errors, when using array...
authorIgor Zamyatin <igor.zamyatin@intel.com>
Fri, 1 Aug 2014 16:54:27 +0000 (16:54 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 1 Aug 2014 16:54:27 +0000 (16:54 +0000)
commita7ee52fba0727d98eadb8b6b9adbf42cf88c0914
tree6b22b92b1cb7eb59e88beb1c6e546153ce181301
parent663683746c390061ab8610b8dd848faa77f7e20a
re PR c++/61455 (Internal compiler error, and other confused errors, when using array notation)

PR middle-end/61455

gcc/c-family/
* array-notation-common.c (extract_array_notation_exprs): Handling
of DECL_EXPR added.

gcc/c/
* c-array-notation.c (expand_array_notations): Handling
of DECL_EXPR added.

gcc/cp/
* cp-array-notation.c (expand_array_notation_exprs): Handling of
DECL_EXPR improved. Changed handling for INIT_EXPR.

gcc/testsuite/
* c-c++-common/cilk-plus/AN/pr61455.c: New test.
* c-c++-common/cilk-plus/AN/pr61455-2.c: Likewise.

From-SVN: r213491
gcc/c-family/ChangeLog
gcc/c-family/array-notation-common.c
gcc/c/ChangeLog
gcc/c/c-array-notation.c
gcc/cp/ChangeLog
gcc/cp/cp-array-notation.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455.c [new file with mode: 0644]