re PR fortran/31119 (-fbounds-check: Check for presence of optional arguments...
re PR fortran/31119 (-fbounds-check: Check for presence of optional arguments before bound checking) PR fortran/31119 * trans-array.c (gfc_conv_ss_startstride): Only perform bounds checking for optional args when they are present. * gfortran.dg/bounds_check_9.f90: New test. * gfortran.dg/bounds_check_fail_2.f90: New test. From-SVN: r128587
Showing
- gcc/fortran/ChangeLog 6 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-array.c 16 additions, 2 deletionsgcc/fortran/trans-array.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/bounds_check_9.f90 36 additions, 0 deletionsgcc/testsuite/gfortran.dg/bounds_check_9.f90
- gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90 39 additions, 0 deletionsgcc/testsuite/gfortran.dg/bounds_check_fail_2.f90
Loading
Please register or sign in to comment