diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2015-05-01 13:32:42 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2015-05-01 13:32:42 +0000 |
commit | 11642de8a8c04a4e9c0eeea663e53e27eae7537a (patch) | |
tree | 290809dd2859bb40c21b878fcd3db098a2f2b075 /gcc/genrecog.c | |
parent | 50093a330f9e4d1b816f77c4ff8bb0dcfea96549 (diff) | |
download | gcc-11642de8a8c04a4e9c0eeea663e53e27eae7537a.zip gcc-11642de8a8c04a4e9c0eeea663e53e27eae7537a.tar.gz gcc-11642de8a8c04a4e9c0eeea663e53e27eae7537a.tar.bz2 |
Allow bound simplification of array subreferences.
gcc/fortran/
* simplify.c (simplify_bound_dim): Tighten the check for array fullness
by also checking for absence of subreference.
(simplify_bound): Don't skip simplification if the array
has subreferences.
(simplify_cobound): Same.
gcc/testsuite/
* gfortran.dg/bound_simplification_4.f90: New.
From-SVN: r222681
Diffstat (limited to 'gcc/genrecog.c')
0 files changed, 0 insertions, 0 deletions