Re: [PR C/79116] ICE with CilkPlus array notation and _Cilk_for (C front-end)

2017-01-17 Thread Aldy Hernandez
On 01/17/2017 09:41 AM, Jakub Jelinek wrote: On Tue, Jan 17, 2017 at 09:22:52AM -0500, Aldy Hernandez wrote: This is the same as pr70565 but it fails in an entirely different manner in the C front-end. The problem here is that the parser builds an ARRAY_NOTATION_REF with a type of ptrdiff for l

Re: [PR C/79116] ICE with CilkPlus array notation and _Cilk_for (C front-end)

2017-01-17 Thread Jakub Jelinek
On Tue, Jan 17, 2017 at 09:22:52AM -0500, Aldy Hernandez wrote: > This is the same as pr70565 but it fails in an entirely different manner in > the C front-end. > > The problem here is that the parser builds an ARRAY_NOTATION_REF with a type > of ptrdiff for length and stride. Later in cilkplus_e

[PR C/79116] ICE with CilkPlus array notation and _Cilk_for (C front-end)

2017-01-17 Thread Aldy Hernandez
This is the same as pr70565 but it fails in an entirely different manner in the C front-end. The problem here is that the parser builds an ARRAY_NOTATION_REF with a type of ptrdiff for length and stride. Later in cilkplus_extract_an_triplets we convert convert length and stride to an integer