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

Reply via email to