This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] Add parsing support for assumed-rank array
Tobias Burnus <burnus@net-b.de> writes:
> + if (e->rank != class_ts.u.derived->components->as->rank)
> + class_array_data_assign (&parmse->pre, ctree, parmse->expr,
> + TREE_TYPE (parmse->expr));
../../gcc/gcc/fortran/trans-expr.c: In function âgfc_conv_derived_to_classâ:
../../gcc/gcc/fortran/trans-expr.c:311:165: warning: passing argument 4 of âclass_array_data_assignâ makes integer from pointer without a cast [enabled by default]
../../gcc/gcc/fortran/trans-expr.c:206:1: note: expected âunsigned charâ but argument is of type âtreeâ
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."