]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
gcc/fortran/ChangeLog:
authorvehre <vehre@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2016 08:51:21 +0000 (08:51 +0000)
committervehre <vehre@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2016 08:51:21 +0000 (08:51 +0000)
commiteb04d24cc02b16a3ee611532bb0fbd4c172ff8ac
treebe349c6c53e4349df797771ee987f711b4e773ce
parent8a23256f756e9709b2373e6db62a6b643b1f0a05
gcc/fortran/ChangeLog:

2016-09-01  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/72832
* trans-expr.c (gfc_copy_class_to_class): Add generation of
runtime array bounds check.
* trans-intrinsic.c (gfc_conv_intrinsic_size): Add a crutch to
get the descriptor of a function returning a class object.
* trans-stmt.c (gfc_trans_allocate): Use the array spec on the
array to allocate instead of the array spec from source=.

gcc/testsuite/ChangeLog:

2016-09-01  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/72832
* gfortran.dg/allocate_with_source_22.f03: New test.
* gfortran.dg/allocate_with_source_23.f03: New test.  Expected to
fail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241088 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_with_source_22.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_with_source_23.f03 [new file with mode: 0644]