OSDN Git Service

2010-07-28 Daniel Kraft <d@domob.eu>
authordomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 17:06:40 +0000 (17:06 +0000)
committerdomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 17:06:40 +0000 (17:06 +0000)
commit9fe43b2b903d280b3b4f114c2856baa824c6eaca
treed6abc79640b3f8726b5ce5ea87b458be1a547ddc
parent2241e3a7d3449adac706d7a186ea72dc44bffd21
2010-07-28  Daniel Kraft  <d@domob.eu>

* gfortran.h (gfc_build_intrinsic_call): New method.
* expr.c (gfc_build_intrinsic_call): New method.
* simplify.c (range_check): Ignore non-constant value.
(simplify_bound_dim): Handle non-variable expressions and
fix memory leak with non-free'ed expression.
(simplify_bound): Handle non-variable expressions.
(gfc_simplify_shape): Ditto.
(gfc_simplify_size): Ditto, but only in certain cases possible.

2010-07-28  Daniel Kraft  <d@domob.eu>

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

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