This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/3, Cilk+] Fix for PR61455
- From: Jeff Law <law at redhat dot com>
- To: "Zamyatin, Igor" <igor dot zamyatin at intel dot com>, "GCC Patches (gcc-patches at gcc dot gnu dot org)" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Jul 2014 19:42:58 -0600
- Subject: Re: [PATCH 2/3, Cilk+] Fix for PR61455
- Authentication-results: sourceware.org; auth=none
- References: <0EFAB2BDD0F67E4FB6CCC8B9F87D756969A815B1 at IRSMSX101 dot ger dot corp dot intel dot com>
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