OSDN Git Service

PR fortran/31974
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2007 19:51:21 +0000 (19:51 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2007 19:51:21 +0000 (19:51 +0000)
commit7c710787c0656d278c5bf2db28409d9f20394041
tree575373a2aa4da956c33fd765439fba98b08238bf
parent87929f5d45f7f2feb340e66afe9801f96f52fa75
PR fortran/31974

* trans-array.c (gfc_trans_auto_array_allocation): Avoid
multiplication of mismatched types.

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

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