Tobias Burnus <bur...@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, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to