This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR60469, Cilk+] Fix ICE of using Cilk_spawn and Array Notation together
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Zamyatin, Igor" <igor dot zamyatin at intel dot com>
- Cc: "GCC Patches (gcc-patches at gcc dot gnu dot org)" <gcc-patches at gcc dot gnu dot org>, "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- Date: Thu, 10 Apr 2014 20:20:48 +0200
- Subject: Re: [PATCH, PR60469, Cilk+] Fix ICE of using Cilk_spawn and Array Notation together
- Authentication-results: sourceware.org; auth=none
- References: <0EFAB2BDD0F67E4FB6CCC8B9F87D7569429DCBE0 at IRSMSX103 dot ger dot corp dot intel dot com> <20140410172841 dot GH1817 at tucnak dot redhat dot com> <0EFAB2BDD0F67E4FB6CCC8B9F87D7569429DCD89 at IRSMSX103 dot ger dot corp dot intel dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Apr 10, 2014 at 06:16:22PM +0000, Zamyatin, Igor wrote:
> Fixed patch is below.
>
> Just out of curiosity - why do you think this patch is not for 4.9?
The one with just create_tmp_var (integer_type_node, NULL); is
for 4.9.
For the iterator var changes, I guess one needs to analyze all the types
used for array annocations, and not just in C FE, but also C++ FE, plus
really it should be size_type_node or signed_size_type_node
or ssizetype, not long_type_node, that can differ, long could be
still wider or narrower than size_t/ssize_t.
Jakub