[PATCH 0/2] fortran: Add bound checking code to the scalarizer block [PR125192]

Mikael Morin <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
From: Mikael Morin <[email protected]>

Hello,
The two follow-up patches are a variation of the patch I posted in the PR.
Patch 1/2 is a preliminary refactoring that simplifies the fix.
Patch 2/2 is the fix.
OK for master and 16 branch?

Mikael Morin (2):
  fortran: Only pass the block for bounds check generation
  fortran: Add bounds checking code to the scalarizer block [PR125192]

 gcc/fortran/trans-array.cc                    | 22 +++----
 gcc/testsuite/gfortran.dg/bounds_check_29.f90 | 62 +++++++++++++++++++
 2 files changed, 73 insertions(+), 11 deletions(-)
 create mode 100644 gcc/testsuite/gfortran.dg/bounds_check_29.f90

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.