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] Remove bounds checking in DO loops for inline matmul


On Sun, Jun 10, 2018 at 02:50:56PM +0200, Thomas Koenig wrote:
> 
> the attached patch was motivated by the desire to reduce the runtime
> of programs with -fcheck=bounds with (some) optimization, in order
> to make debugging less time consuming.
> 
> This patch removes the run-time bounds checks with -fcheck=bounds
> in the DO loops created by matmul inlining. The Necessary checks are
> already performed outside the loop, so the inner tests are not needed.
> 
> OK for trunk?
> 

Yes.

-- 
Steve


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