]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/37429 (Checks when assigning from a type-bound procedure broken)
authorDaniel Kraft <d@domob.eu>
Tue, 9 Sep 2008 18:08:08 +0000 (20:08 +0200)
committerDaniel Kraft <domob@gcc.gnu.org>
Tue, 9 Sep 2008 18:08:08 +0000 (20:08 +0200)
commit00ca66405c3b9da27fab36bd55e62148e97d7491
tree652b729072d1934ca2c55d2cf26b864558540c25
parent5a3d7e74caea0e0ff01f12191aaf479a558fa192
re PR fortran/37429 (Checks when assigning from a type-bound procedure broken)

2008-09-09  Daniel Kraft  <d@domob.eu>

PR fortran/37429
* resolve.c (expression_rank): Added assertion to guard against
EXPR_COMPCALL expressions.
(resolve_compcall): Set expression's rank from the target procedure's.

2008-09-09  Daniel Kraft  <d@domob.eu>

PR fortran/37429
* gfortran.dg/typebound_call_7.f03: New test.
* gfortran.dg/typebound_call_8.f03: New test.

From-SVN: r140163
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_call_7.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_call_8.f03 [new file with mode: 0644]