re PR fortran/19777 (-fbounds-check catches non-existent bounds violation)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Sat, 27 May 2006 09:41:42 +0000 (11:41 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 27 May 2006 09:41:42 +0000 (09:41 +0000)
commit7936f3e337aca78ec76497c598b4ecef7bb2123e
tree0a6f6da968945705bd677fac17b6d37a709d3603
parent59c0928b6ae0a194833640c15905ff3aa26c54e7
re PR fortran/19777 (-fbounds-check catches non-existent bounds violation)

PR fortran/19777

* trans-array.c (gfc_conv_array_ref): Don't perform out-of-bounds
checking for assumed-size arrrays.

* gfortran.dg/bounds_check_2.f: New test.

From-SVN: r114153
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bounds_check_2.f [new file with mode: 0644]