diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2012-07-26 08:47:33 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2012-07-26 08:47:33 +0000 |
commit | ca27d5aebd6c4a4fb2776f2924da621c26b5fd1a (patch) | |
tree | 97e486c2daffd632033804f16913b8ac71d1320e /gcc/fortran/trans-array.c | |
parent | b573c9d6f4a2e4692492894266d1d936b8bd35af (diff) | |
download | gcc-ca27d5aebd6c4a4fb2776f2924da621c26b5fd1a.zip gcc-ca27d5aebd6c4a4fb2776f2924da621c26b5fd1a.tar.gz gcc-ca27d5aebd6c4a4fb2776f2924da621c26b5fd1a.tar.bz2 |
re PR fortran/44354 (implied do loop with its own variable name as upper bound)
fortran/
PR fortran/44354
* array.c (sought_symbol): New variable.
(expr_is_sought_symbol_ref, find_symbol_in_expr): New functions.
(resolve_array_list): Check for references to the induction
variable in the iteration bounds and issue a diagnostic if some
are found.
testsuite/
PR fortran/44354
* gfortran.dg/array_constructor_38.f90: New test.
From-SVN: r189882
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions