RE: [PATCH] fix for PR 59825

2014-01-23 Thread Iyer, Balaji V
> -Original Message- > From: Jakub Jelinek [mailto:ja...@redhat.com] > Sent: Thursday, January 23, 2014 5:28 AM > To: Iyer, Balaji V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] fix for PR 59825 > > On Thu, Jan 23, 2014 at 10:27:58AM +0100, Jakub Jeline

Re: [PATCH] fix for PR 59825

2014-01-23 Thread Jakub Jelinek
On Thu, Jan 23, 2014 at 10:27:58AM +0100, Jakub Jelinek wrote: > On Mon, Jan 20, 2014 at 10:40:31PM +, Iyer, Balaji V wrote: > > --- a/gcc/c/c-array-notation.c > > +++ b/gcc/c/c-array-notation.c > > @@ -1218,22 +1218,22 @@ fix_return_expr (tree expr) > >return new_mod_list; > > } > > > >

Re: [PATCH] fix for PR 59825

2014-01-23 Thread Jakub Jelinek
On Mon, Jan 20, 2014 at 10:40:31PM +, Iyer, Balaji V wrote: > --- a/gcc/c/c-array-notation.c > +++ b/gcc/c/c-array-notation.c > @@ -1218,22 +1218,22 @@ fix_return_expr (tree expr) >return new_mod_list; > } > > -/* Walks through tree node T and find all the call-statements that do not >

RE: [PATCH] fix for PR 59825

2014-01-20 Thread Iyer, Balaji V
> -Original Message- > From: Jakub Jelinek [mailto:ja...@redhat.com] > Sent: Wednesday, January 15, 2014 5:55 PM > To: Iyer, Balaji V > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] fix for PR 59825 > > On Wed, Jan 15, 2014 at 10:37:04PM +, Iyer, B

Re: [PATCH] fix for PR 59825

2014-01-15 Thread Marek Polacek
On Wed, Jan 15, 2014 at 10:37:04PM +, Iyer, Balaji V wrote: > +2014-01-15 Balaji V. Iyer > + > + PR c/59825 > + * c-array-notation.c (expand_array_notation_exprs): Added COMPOUND_EXPR > + case. > + "Add" > --- a/gcc/c/c-array-notation.c > +++ b/gcc/c/c-array-notation.c > @@ -12

Re: [PATCH] fix for PR 59825

2014-01-15 Thread Jakub Jelinek
On Wed, Jan 15, 2014 at 10:37:04PM +, Iyer, Balaji V wrote: > Hello Everyone, > Attached, please find a patch that will fix PR 59825. The main issue was > array notations occurring in COMPOUND_EXPR. This patch should fix that > and fix the rank_mismatch2.c test-case ICE. > --- a/gcc/c/c-arr

[PATCH] fix for PR 59825

2014-01-15 Thread Iyer, Balaji V
Hello Everyone, Attached, please find a patch that will fix PR 59825. The main issue was array notations occurring in COMPOUND_EXPR. This patch should fix that and fix the rank_mismatch2.c test-case ICE. Ok for trunk? Thanks, Balaji V. Iyer. diff --git a/gcc/c/ChangeLog