PR c/69798
commit6560d1adcecef454646575c36a37220ba6f30988
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Mar 2016 13:26:25 +0000 (4 13:26 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Mar 2016 13:26:25 +0000 (4 13:26 +0000)
tree4ca9771c72769236beaba3b26955cd20839b2e53
parentcc7dfddf26acef525617a8117077c4a078584930
PR c/69798
* c-parser.c (c_parser_postfix_expression): Call
c_parser_cast_expression rather than c_parser_postfix_expression.

* gcc.dg/cilk-plus/pr69798-1.c: New test.
* gcc.dg/cilk-plus/pr69798-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233965 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cilk-plus/pr69798-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cilk-plus/pr69798-2.c [new file with mode: 0644]