bound simplification refactoring
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 May 2015 13:56:47 +0000 (13:56 +0000)
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 May 2015 13:56:47 +0000 (13:56 +0000)
commitea75b8c3b468af6ec6e0986aed11c92c440594f8
tree2cb82e13799733c3035f9753c2df8ecb70db73b6
parent3c6655661802974acdd2bceb63f35d98d59d5cee
bound simplification refactoring

gcc/fortran/
* simplify.c (simplify_bound_dim): Don't check for emptyness
in the case of cobound simplification.  Factor lower/upper
bound differenciation before the actual simplification.
(simplify_bound): Remove assumed shape specific simplification.
Don't give up early for the lbound of an assumed shape.
gcc/testsuite/
* gfortran.dg/bound_simplification_5.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222979 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bound_simplification_5.f90 [new file with mode: 0644]