This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR 85631, wrong size checking with allocatable arrays


On Fri, Jun 08, 2018 at 09:06:55PM +0200, Thomas Koenig wrote:
> 
> the attached patch fixes a bug which was uncovered by the PR in
> a matmul regression.
> 
> The problem is that bounds checking on the LHS with reallocation on
> assignment makes no sense, and the original flag was not set for
> the case in question.
> 
> I added both the original test and the reduced test to the single test
> case.
> 
> OK for trunk?
> 

OK.

-- 
steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]