]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/31591 (UBOUND as initialization expression (lacking simplification))
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 29 Apr 2007 16:03:58 +0000 (16:03 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 29 Apr 2007 16:03:58 +0000 (16:03 +0000)
commitfc9f54d5b517c077b32bc592e4b4b2cad8fd8c5d
treed0ba31495bdf0ad73cb46d5b9a09a5436737dd67
parent26c5953d277f00dbef89d7d6122e94a282a35bca
re PR fortran/31591 (UBOUND as initialization expression (lacking simplification))

PR fortran/31591

* simplify.c (simplify_bound_dim): New function.
(simplify_bound): Use the above. Perform simplification of LBOUND
and UBOUND when DIM argument is not present.

* gfortran.dg/bound_simplification_1.f90: New test.

From-SVN: r124281
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bound_simplification_1.f90 [new file with mode: 0644]
This page took 0.063057 seconds and 5 git commands to generate.