On 07/31/14 13:51, Zamyatin, Igor wrote:
Hi!

This patch fixes the ICE on invalid code by adding missed check for 
error_mark_node.

Regtested on x86_64. Ok for trunk/4.9?

Thanks,
Igor

Changelog:

gcc/cp:

2014-07-31  Igor Zamyatin  <igor.zamya...@intel.com>

        PR other/61963
        * parser.c (cp_parser_array_notation): Added check for array_type.


gcc/testsuite:

2014-07-31  Igor Zamyatin  <igor.zamya...@intel.com>

        PR other/61963
        * c-c++-common/cilk-plus/AN/pr61963.c: New test.
This is fine too.

Thanks,
Jeff

Reply via email to