On 08/07/14 16:06, Zamyatin, Igor wrote:
Hi!

Following patch adds necessary handling of the cases with incorrect type of an 
array in ArrayNotation and thus avoids ICE.

Regtested on x86_64.

Ok for trunk/4.9?

Thanks,
Igor

gcc/c/ChangeLog:

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

       PR other/62008
       * c-parser.c (c_parser_array_notation): Check for correct
       type of an array added.

gcc/cp/ChangeLog:

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

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

gcc/testsuite/ChangeLog:

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

       PR other/62008
       * c-c++-common/cilk-plus/AN/pr62008.c: New test.
OK.
Jeff

Reply via email to