[Bug fortran/32732] [Bind C] Character scalars are passed as arrays
Christopher D. Rickett
crickett@lanl.gov
Thu Jul 26 23:11:00 GMT 2007
hi Steve,
thanks for testing this out. i've now bootstrapped and regtested the
change on x86 and x86_64 linux with no new failures.
Chris
On Thu, 26 Jul 2007, Steve Ellcey wrote:
>> could you add the following three lines after the line you mentioned from
>> generate_local_decl:
>>
>> DECL_BY_REFERENCE (sym->backend_decl) = 0;
>> DECL_ARG_TYPE (sym->backend_decl) = TREE_TYPE
>> (sym->backend_decl);
>> DECL_MODE (sym->backend_decl) =
>> TYPE_MODE (TREE_TYPE (sym->backend_decl));
>
> I added them in and they seem to fix the problem. I only tried my small
> testcase, I didn't do a full build and test. I will add these lines to
> my nightly build and see what happens there.
>
> Steve Ellcey
> sje@cup.hp.com
>
More information about the Fortran
mailing list