RE: [PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-18 Thread Iyer, Balaji V
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Jakub Jelinek > Sent: Friday, December 14, 2012 12:09 PM > To: Iyer, Balaji V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH][Cilkplus] Fix pragma

RE: [PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-14 Thread Iyer, Balaji V
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Jakub Jelinek > Sent: Friday, December 14, 2012 12:09 PM > To: Iyer, Balaji V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH][Cilkplus] Fix pragma

Re: [PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-14 Thread Jakub Jelinek
On Fri, Dec 14, 2012 at 05:01:48PM +, Iyer, Balaji V wrote: > > Why do you think fatal_error is the right thing here? Why doesn't normal > > error > > work? Generally, if one function contains 10 #pragma simd loops that > > require > > vectorization and 5 out of them aren't vectorized, it i

RE: [PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-14 Thread Iyer, Balaji V
Hello Jakub, Please see my responses below. Thanks, Balaji V. Iyer. > -Original Message- > From: Jakub Jelinek [mailto:ja...@redhat.com] > Sent: Friday, December 14, 2012 11:59 AM > To: Iyer, Balaji V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH][Cilkplu

Re: [PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-14 Thread Jakub Jelinek
On Fri, Dec 14, 2012 at 04:59:02AM +, Iyer, Balaji V wrote: > --- tree-vect-loop.c (revision 194483) > +++ tree-vect-loop.c (working copy) > @@ -234,8 +234,8 @@ > if (flag_enable_cilk && pragma_simd_assert_requested_p > (loop->pragma_simd_index)) >

[PATCH][Cilkplus] Fix pragma simd info being lost

2012-12-13 Thread Iyer, Balaji V
Hello Everyone, This patch is for the Cilk Plus branch mainly affecting both C and C++ compilers. Some of the pragma simd structure's indices were getting lost and this patch will restore them. It will also insert the appropriate error messages when assert (in pragma simd) is requested i