This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
This doesn't do any bounds checking at all for an assumed-size array, however, while all but the last exponent of an assumed-size array should in theory be checkable. Would making the check
if (flag_bounds_check && (ar->as->type != AS_ASSUMED_SIZE || n < ar->dimen - 1))
work correctly for checking the lower dimensions?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |