This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Cilk+] Fix for PR62008


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.zamyatin@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.zamyatin@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.zamyatin@intel.com>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]