Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-06-07 Thread David Edelsohn
On Thu, May 30, 2013 at 6:10 PM, Iyer, Balaji V wrote: > I think David is getting the correct output but just that dg-error is not > catching it correctly. What version of expect are you using? Fedora 18 apparently has 5.45, others are using 5.44, and AIX 7.1 provides 5.42.1. Thanks, David

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-31 Thread David Edelsohn
On Thu, May 30, 2013 at 6:10 PM, Iyer, Balaji V wrote: > I think David is getting the correct output but just that dg-error is not > catching it correctly. Is there an updated Tcl or runtest pre-req? - David

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-30 Thread Iyer, Balaji V
ednesday, May 29, 2013 11:44 AM > >> To: Iyer, Balaji V > >> Cc: Richard Henderson; Jakub Jelinek; Aldy Hernandez; Jeff Law; 'Joseph S. > >> Myers'; gcc-patches > >> Subject: RE: [PING]RE: [patch] cilkplus: Array notation for C patch > >> > >

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-30 Thread Jakub Jelinek
On Thu, May 30, 2013 at 03:02:27PM -0600, Jeff Law wrote: > >>error: __sec_reduce_min_ind or __sec_reduce_max_ind cannot have arrays > >>with dimension greater than 1 > > > >Same as above for this also. > Not sure about this one. It's possible (I'd have to sit down with > dg.exp for a while) that

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-30 Thread Jeff Law
; 'Joseph S. Myers'; gcc-patches Subject: RE: [PING]RE: [patch] cilkplus: Array notation for C patch Balaji, Thanks for this new feature and I am relieved that so much of it works successfully on PowerLinux and AIX. I know that you have received a deluge of reports of issues with the cilkpl

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-30 Thread Iyer, Balaji V
gt; Myers'; gcc-patches > Subject: RE: [PING]RE: [patch] cilkplus: Array notation for C patch > > Balaji, > > Thanks for this new feature and I am relieved that so much of it works > successfully on PowerLinux and AIX. > > I know that you have received a deluge of reports o

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-29 Thread H.J. Lu
enderson >>> Sent: Tuesday, May 28, 2013 2:52 PM >>> To: Iyer, Balaji V >>> Cc: Jakub Jelinek; Aldy Hernandez; Jeff Law; 'Joseph S. Myers'; >>> 'gcc-patches' >>> Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-29 Thread David Edelsohn
Balaji, Thanks for this new feature and I am relieved that so much of it works successfully on PowerLinux and AIX. I know that you have received a deluge of reports of issues with the cilkplus support that you slowly are working through. I am seeing the following new testsuite failures on AIX:

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-29 Thread Rainer Orth
Rainer Orth writes: > "Iyer, Balaji V" writes: [...] >> This patch is committed to trunk at revision 199389. > > ... and immediately broke Solaris bootstrap, cf. PR bootstrap/57450. Fixed implementing Richard's suggestion from the PR. Bootstrapped without regressions on i386-pc-solaris2.10 and

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-29 Thread Rainer Orth
ek; Aldy Hernandez; Jeff Law; 'Joseph S. Myers'; 'gcc-patches' >> Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch >> >> On 05/28/2013 11:44 AM, Iyer, Balaji V wrote: >> > i Richard, Jakub et al.. >> >I think I have fixe

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Iyer, Balaji V
> -Original Message- > From: H.J. Lu [mailto:hjl.to...@gmail.com] > Sent: Tuesday, May 28, 2013 8:48 PM > To: Iyer, Balaji V > Cc: Richard Henderson; Jakub Jelinek; Aldy Hernandez; Jeff Law; Joseph S. > Myers; gcc-patches > Subject: Re: [PING]RE: [patch] cilkplus:

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread H.J. Lu
enderson >>> Sent: Tuesday, May 28, 2013 2:52 PM >>> To: Iyer, Balaji V >>> Cc: Jakub Jelinek; Aldy Hernandez; Jeff Law; 'Joseph S. Myers'; >>> 'gcc-patches' >>> Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread H.J. Lu
Balaji V >> Cc: Jakub Jelinek; Aldy Hernandez; Jeff Law; 'Joseph S. Myers'; 'gcc-patches' >> Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch >> >> On 05/28/2013 11:44 AM, Iyer, Balaji V wrote: >> > i Richard, Jakub et al.. >> &g

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Iyer, Balaji V
'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/28/2013 11:44 AM, Iyer, Balaji V wrote: > > i Richard, Jakub et al.. > > I think I have fixed everything requested by RTH > (http://gcc.gnu.org/ml/gcc-patches/2013-05

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Richard Henderson
On 05/28/2013 11:44 AM, Iyer, Balaji V wrote: > i Richard, Jakub et al.. > I think I have fixed everything requested by RTH > (http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01400.html). I think I have > also moved the tests in the correct place Jakub requested. It is passing all > the corr

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Iyer, Balaji V
w; r...@redhat.com; 'Joseph S. Myers'; > 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On Tue, May 28, 2013 at 11:37:32AM -0500, Aldy Hernandez wrote: > > > I moved all the tests from gcc.dg/cilk-plus/AN directory to c

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Aldy Hernandez
On 05/28/13 11:49, Iyer, Balaji V wrote: At present, I did not have a g++.dg/cilk-plus/cilk-plus.exp script, thus C++ compiler does not execute these tests. Ah, I see. Perfect.

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Iyer, Balaji V
akub Jelinek; Jeff Law; r...@redhat.com; 'Joseph S. Myers'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/24/13 13:43, Iyer, Balaji V wrote: > > > Hi Jakub, > > I moved all the tests from gcc.dg/cilk-pl

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Jakub Jelinek
On Tue, May 28, 2013 at 11:37:32AM -0500, Aldy Hernandez wrote: > > I moved all the tests from gcc.dg/cilk-plus/AN directory to > > c-c++-common/cilk-plus/AN directory. The gcc.dg/cilk-plus directory just > > contains cilk-plus.exp script, which will handle all the tests in > > cilk-plus, no

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-28 Thread Aldy Hernandez
On 05/24/13 13:43, Iyer, Balaji V wrote: Hi Jakub, I moved all the tests from gcc.dg/cilk-plus/AN directory to c-c++-common/cilk-plus/AN directory. The gcc.dg/cilk-plus directory just contains cilk-plus.exp script, which will handle all the tests in cilk-plus, not just array notation

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-24 Thread Iyer, Balaji V
gt; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On Fri, May 24, 2013 at 05:52:11PM +, Iyer, Balaji V wrote: > > * gcc.dg/cilk-plus/AN/array_test1.c: New test. > ... > > * gcc.dg/cilk-plus/AN/cilkplus_AN_c.exp: N

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-24 Thread Jakub Jelinek
On Fri, May 24, 2013 at 05:52:11PM +, Iyer, Balaji V wrote: > * gcc.dg/cilk-plus/AN/array_test1.c: New test. ... > * gcc.dg/cilk-plus/AN/cilkplus_AN_c.exp: New script. Ok, I guess I can live with /AN/ extra level, but can you please move it still to c-c++-common/cilk-plus/AN/ for a

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-24 Thread Aldy Hernandez
ez > Sent: Thursday, May 23, 2013 3:23 PM > To: Jakub Jelinek > Cc: Iyer, Balaji V; Richard Henderson; 'Joseph S. Myers'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/23/13 14:03, Jakub Jelinek wrote: >

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-24 Thread Iyer, Balaji V
> patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/23/2013 06:42 PM, Iyer, Balaji V wrote: > > > > I got all your responses and, if I remove the compile, execute and > > errors directories but keep cilk-plus and array notati

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-24 Thread Jeff Law
On 05/23/2013 06:42 PM, Iyer, Balaji V wrote: I got all your responses and, if I remove the compile, execute and errors directories but keep cilk-plus and array notation, maybe even abbreviate array notation to "an", (in future cilk keywords to "ck", pragma simd to "ps" and elemental function t

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Iyer, Balaji V
nderson; 'Joseph S. Myers'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/23/13 14:03, Jakub Jelinek wrote: > > On Thu, May 23, 2013 at 06:27:04PM +, Iyer, Balaji V wrote: > >> gcc/testsuite/ChangeLog >

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Mike Stump
On May 23, 2013, at 2:08 PM, "Iyer, Balaji V" wrote: > If I put things in c-c++-common, how do I test the code with different flags > (I didn't see any .exp file there)? For example, how can I test if it works > with "-O2" and then have another test for "-O2 -g" etc.? Do I just use > multiple "

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Iyer, Balaji V
> -Original Message- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Thursday, May 23, 2013 4:52 PM > To: Iyer, Balaji V > Cc: Jakub Jelinek; Richard Henderson; 'Joseph S. Myers'; 'Aldy Hernandez'; > 'gcc- > patches' > Subject

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Joseph S. Myers
On Wed, 22 May 2013, Jeff Law wrote: > On 05/22/2013 03:58 PM, Joseph S. Myers wrote: > > > > Regarding commonality between OpenMP and Cilk, note also the new C > > Parallel Language Extensions WG14 study group chaired by Clark Nelson and > > aiming to propose a standard set of C extensions for p

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Jeff Law
On 05/23/2013 02:38 PM, Iyer, Balaji V wrote: Hi Jakub & Aldy, There are a couple reasons why I picked this hierarchy. I looked at gcc-c-torture directory and it has compile, execute etc. This is why I had execute, compile and errors directory. Also, we are planning to have some hybrid tests tha

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Iyer, Balaji V
> -Original Message- > From: Jakub Jelinek [mailto:ja...@redhat.com] > Sent: Thursday, May 23, 2013 3:04 PM > To: Iyer, Balaji V > Cc: Richard Henderson; 'Joseph S. Myers'; 'Aldy Hernandez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch]

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Richard Henderson
On 05/23/2013 11:27 AM, Iyer, Balaji V wrote: > Hello Richard et al., > Attached, please find a fixed patch. I have done the following changes: > > 1. Used the c_finish_loop (...) function instead of building the loop myself > 2. Got rid of ARRAY_NOTATION_TYPE and just used TREE_TYPE (). >

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Aldy Hernandez
On 05/23/13 14:03, Jakub Jelinek wrote: On Thu, May 23, 2013 at 06:27:04PM +, Iyer, Balaji V wrote: gcc/testsuite/ChangeLog 2013-05-23 Balaji V. Iyer * gcc.dg/cilk-plus/array_notation/compile/array_test2.c: New test. I have concerns about the test locations, to me this looks w

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Jakub Jelinek
On Thu, May 23, 2013 at 06:27:04PM +, Iyer, Balaji V wrote: > gcc/testsuite/ChangeLog > 2013-05-23 Balaji V. Iyer > > * gcc.dg/cilk-plus/array_notation/compile/array_test2.c: New test. I have concerns about the test locations, to me this looks way too deep tree, whether something i

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-23 Thread Iyer, Balaji V
-- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Wednesday, May 22, 2013 1:34 PM > To: Iyer, Balaji V > Cc: 'Joseph S. Myers'; 'Aldy Hernandez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
> -Original Message- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, May 22, 2013 10:11 PM > To: Joseph S. Myers > Cc: Iyer, Balaji V; Jakub Jelinek; Richard Henderson; 'Aldy Hernandez'; 'gcc- > patches' > Subject: Re: [PING]RE: [pa

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
> -Original Message- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, May 22, 2013 10:11 PM > To: Joseph S. Myers > Cc: Iyer, Balaji V; Jakub Jelinek; Richard Henderson; 'Aldy Hernandez'; 'gcc- > patches' > Subject: Re: [PING]RE: [pa

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Jeff Law
On 05/22/2013 03:58 PM, Joseph S. Myers wrote: Regarding commonality between OpenMP and Cilk, note also the new C Parallel Language Extensions WG14 study group chaired by Clark Nelson and aiming to propose a standard set of C extensions for parallel programming, announced yesterday on the WG14 r

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
cc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/22/2013 02:25 PM, Iyer, Balaji V wrote: > > Yes, they are both the same. A while back, I found a couple corner > > cases where the TREE_TYPE of the array notations inside __sec_reduce &g

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Richard Henderson
On 05/22/2013 02:25 PM, Iyer, Balaji V wrote: > Yes, they are both the same. A while back, I found a couple corner cases > where the TREE_TYPE of the array notations inside __sec_reduce functions > that was getting changed. This is a storage location that will be untouched > so that I can get the o

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Joseph S. Myers
On Wed, 22 May 2013, Jeff Law wrote: > So if we can represent array notation as an OpenMP SIMD loop and re-use the > OpenMP code generation, that's a significant win. I realize the OpenMP SIMD > stuff is still in-progress, but from a design standpoint we'd like to separate > out the front-end iss

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
> -Original Message- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Wednesday, May 22, 2013 1:34 PM > To: Iyer, Balaji V > Cc: 'Joseph S. Myers'; 'Aldy Hernandez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Arr

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Jeff Law
On 05/22/2013 01:13 PM, Iyer, Balaji V wrote: Hi Jeff, Yes, converting the array notation expansion to #pragma simd (or #pragma omp simd) trees will be beneficial performance wise. But, it will require semi-significant re-write and this can destabilize a currently stable implementation. IMHO, fo

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
dy Hernandez'; > 'gcc- > patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On 05/22/2013 09:37 AM, Iyer, Balaji V wrote: > >>> > >> Furthermore, do you want to generate just normal loop out of it, or > >> shouldn

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Richard Henderson
On 2013-05-22 08:18, Iyer, Balaji V wrote: The overall function names are same, but the components inside it function differs greatly from C and C++. For example, in C++ I can't use build_modify_expr, but build_x_modify_expr. Also, I need to handle overloaded function types, and that requires fur

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Jeff Law
On 05/22/2013 09:37 AM, Iyer, Balaji V wrote: Furthermore, do you want to generate just normal loop out of it, or shouldn't we generate a #pragma omp simd loop out of it instead? Haven't read the spec if array notation guarantees lack of forward/backward loop dependencies and what are the restr

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
> -Original Message- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Wednesday, May 22, 2013 11:30 AM > To: Jakub Jelinek > Cc: Iyer, Balaji V; 'Joseph S. Myers'; 'Aldy Hernandez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] c

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
ndez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > On Tue, May 21, 2013 at 07:57:10PM -0700, Richard Henderson wrote: > > >+ /* This will create the if statement label. */ > > &g

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Richard Henderson
On 2013-05-21 23:15, Jakub Jelinek wrote: Furthermore, do you want to generate just normal loop out of it, or shouldn't we generate a #pragma omp simd loop out of it instead? Haven't read the spec if array notation guarantees lack of forward/backward loop dependencies and what are the restriction

RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-22 Thread Iyer, Balaji V
rs'; 'Aldy Hernandez'; 'gcc-patches' > Subject: Re: [PING]RE: [patch] cilkplus: Array notation for C patch > > Let me start by saying that I think the patch is generally ok, especially > considering the advice that's already been given. That said... >

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-21 Thread Jakub Jelinek
On Tue, May 21, 2013 at 07:57:10PM -0700, Richard Henderson wrote: > >+ /* This will create the if statement label. */ > >+ if_stmt_label[ii] = build_decl (location, LABEL_DECL, NULL_TREE, > >+ void_type_node); > >+ DECL_CONTEXT (if_stmt_label[ii]

Re: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-21 Thread Richard Henderson
Let me start by saying that I think the patch is generally ok, especially considering the advice that's already been given. That said... +++ b/gcc/c/c-array-notation.c @@ -0,0 +1,3121 @@ So, like, are we going to need to replicate 3000 lines to add array notation to c++ too? How much of th

[PING]RE: [patch] cilkplus: Array notation for C patch

2013-05-13 Thread Iyer, Balaji V
Can someone please review this patch for us? Thanks, Balaji V. Iyer. > -Original Message- > From: Iyer, Balaji V > Sent: Monday, May 06, 2013 11:32 AM > To: Joseph S. Myers > Cc: 'Aldy Hernandez'; 'gcc-patches' > Subject: RE: [patch] cilkplus: Ar

RE: [patch] cilkplus: Array notation for C patch

2013-04-30 Thread Bernhard Reutner-Fischer
On 30 April 2013 00:55:16 "Joseph S. Myers" wrote: > + if (flag_enable_cilkplus && contains_array_notation_expr (cond)) > +{ > + error_at (start_locus, "array notation expression cannot be used in a " > + "loop%'s condition"); > + return; > +} > + if (flag_enable_

RE: [patch] cilkplus: Array notation for C patch

2013-04-29 Thread Joseph S. Myers
Here's a review of the changes to the compiler proper in this patch. I don't think much more will come up from reviews of the compiler changes - but I still need to review the testsuite changes against the language specification to make sure that everything is properly covered in the testsuite (whi

[PING] RE: [PING]RE: [patch] cilkplus: Array notation for C patch

2013-04-18 Thread Iyer, Balaji V
9, 2013 5:58 PM > > To: 'Joseph Myers'; 'Aldy Hernandez' > > Cc: 'gcc-patches' > > Subject: RE: [patch] cilkplus: Array notation for C patch > > > > Hello Joseph, Aldy et al., > > I reworded couple comments (e.g chang

[PING]RE: [patch] cilkplus: Array notation for C patch

2013-04-08 Thread Iyer, Balaji V
Hello Joseph, Did you get a chance to look at this patch? Thanks, Balaji V. Iyer. > -Original Message- > From: Iyer, Balaji V > Sent: Friday, March 29, 2013 5:58 PM > To: 'Joseph Myers'; 'Aldy Hernandez' > Cc: 'gcc-patches' > Sub

Re: [patch] cilkplus: Array notation for C patch

2013-04-01 Thread Aldy Hernandez
We need to do EXPR_LOCATION (array2) and then issue the error note: original mismatching rank at: array[:][:] = array2[:]; >>^ Yes. Or something similar... the note can be emitted with inform(). So you need to save the original rank location to emit the note. ..

RE: [patch] cilkplus: Array notation for C patch

2013-04-01 Thread Iyer, Balaji V
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Aldy Hernandez > Sent: Monday, April 01, 2013 5:02 PM > To: Iyer, Balaji V > Cc: 'Joseph Myers'; 'gcc-patches' > Subject: Re: [pa

Re: [patch] cilkplus: Array notation for C patch

2013-04-01 Thread Aldy Hernandez
On 03/29/13 16:57, Iyer, Balaji V wrote: +bool +find_rank (location_t loc, tree orig_expr, tree array, bool ignore_builtin_fn, + size_t *rank) +{ + tree ii_tree; Balaji, I believe what Joseph meant with saving the location_t is so we can give meaningful error messages when encounter

Re: [patch] cilkplus: Array notation for C patch

2013-04-01 Thread Aldy Hernandez
On 03/29/13 16:57, Iyer, Balaji V wrote: Hello Joseph, Aldy et al., I reworded couple comments (e.g changed builtin with built-in, etc) and added a header comment to the c-array-notation.c that explains the overall process. I am attaching a fixed patch. Ok, this latest patch that Bal

RE: [patch] cilkplus: Array notation for C patch

2013-03-29 Thread Iyer, Balaji V
* c-tree.h (is_cilkplus_reduce_builtin): Protoize. > -Original Message- > From: Iyer, Balaji V > Sent: Thursday, March 28, 2013 1:07 PM > To: Joseph Myers; Aldy Hernandez > Cc: gcc-patches > Subject: [patch] cilkplus: Array notation for C patch > > Hello Joseph, Ald

[patch] cilkplus: Array notation for C patch

2013-03-28 Thread Iyer, Balaji V
Hello Joseph, Aldy et al., Attached, please find a fixed patch (bzipped) that implements array notation for C. To my best knowledge, I have fixed all the changes Joseph and Aldy have mentioned in the previous email threads (http://gcc.gnu.org/ml/gcc-patches/2013-03/msg01182.html, http:/