OSDN Git Service

PR fortran/31591
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Apr 2007 16:03:58 +0000 (16:03 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Apr 2007 16:03:58 +0000 (16:03 +0000)
commit0a2892e73d74288fce34f6a3f2c7885bdc409259
treed0ba31495bdf0ad73cb46d5b9a09a5436737dd67
parenta4317a500be643b23f6fb9bdbbe8bbb0834a06b6
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.

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