Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-27 Thread Thomas Schwinge
Hi! On Tue, 26 Sep 2017 18:51:52 +0200, Thomas Koenig wrote: > > On Mon, 25 Sep 2017 18:50:49 +0200, Thomas Koenig > > wrote: > >> Thanks for the review, committed as r253156. > >> > >> Now, on to some other bugs... > > > > No, back to this one

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-26 Thread Thomas Koenig
Hi Jakub, associate(k => v, l => a(i, j), m => a(i, :)) And I don't really see a bug in the testcase... Hm, I will look at this. Maybe some strange interaction with associate here... Regards Thomas

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-26 Thread Thomas Koenig
Hi! On Mon, 25 Sep 2017 18:50:49 +0200, Thomas Koenig wrote: Thanks for the review, committed as r253156. Now, on to some other bugs... No, back to this one please. ;-) OK, if you insist :-) Apparently, the changes you prepared for existing testcases did not get

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-26 Thread Jakub Jelinek
On Tue, Sep 26, 2017 at 09:17:40AM +0200, Thomas Schwinge wrote: > Hi! > > On Mon, 25 Sep 2017 18:50:49 +0200, Thomas Koenig > wrote: > > Thanks for the review, committed as r253156. > > > > Now, on to some other bugs... > > No, back to this one please. ;-) > >

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-26 Thread Thomas Schwinge
Hi! On Mon, 25 Sep 2017 18:50:49 +0200, Thomas Koenig wrote: > Thanks for the review, committed as r253156. > > Now, on to some other bugs... No, back to this one please. ;-) Apparently, the changes you prepared for existing testcases did not get committed, so I'm now

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-25 Thread Thomas Koenig
Hi Jerry, Yes OK, Thanks for the review, committed as r253156. Now, on to some other bugs... Regards Thomas

Re: [patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-24 Thread Jerry DeLisle
On 09/23/2017 05:33 AM, Thomas Koenig wrote: > Hello world, > > here is an update and a ping for my patch at > > https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01104.html > > This patch warns unconditionally for > >   REAL A(3) >   DO I=1,4 > A(I) = 42. >   END DO > > while only warning

[patch, fortran] Warn about out-of-bounds access with DO subscripts

2017-09-23 Thread Thomas Koenig
Hello world, here is an update and a ping for my patch at https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01104.html This patch warns unconditionally for REAL A(3) DO I=1,4 A(I) = 42. END DO while only warning conditionally, dependent on a new flag, for when the statement containing