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 2/3, Cilk+] Fix for PR61455


On 07/12/14 03:51, Zamyatin, Igor wrote:
Hi!

This patch adds correct handling of declarations whit initializations that contain array notation.
It fixes ICE in PR61455.

Regtested for x86_64 (along with the first patch in the chain).

Ok for trunk/4.9?

Thanks,
Igor


gcc/c-family/ChangeLog:

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

       PR middle-end/61455
       * array-notation-common.c (extract_array_notation_exprs): Handling
       of DECL_EXPR added.

gcc/c/ChangeLog:

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

       PR middle-end/61455
       * c-array-notation.c (expand_array_notations): Handling
       of DECL_EXPR added.

gcc/cp/ChangeLog:

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

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

gcc/testsuite/ChangeLog:

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

       PR middle-end/61455
       * c-c++-common/cilk-plus/AN/pr61455.c: New test.
       * c-c++-common/cilk-plus/AN/pr61455-2.c: Likewise.
This is fine for the trunk/4.9.  Thanks,
Jeff


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