[Bug fortran/32732] [Bind C] Character scalars are passed as arrays
Tobias Burnus
burnus@net-b.de
Thu Jul 26 09:13:00 GMT 2007
Steve Ellcey wrote:
> ------- Comment #4 from sje at cup dot hp dot com 2007-07-25 22:56 -------
> The test case is still not working for me on IA64 HP-UX. I also still see
> gfortran.dg/c_kind_params.f90 failing at all optimization levels.
> c_char_tests.f03 also fail
Well, I think you have to do more debugging then. First, could you run
the two attached programs and compare the "sizeof" sizes; they should
always match, if they don't you you have found one problem.
Otherwise, we need at least the dump of the C and Fortran programs:
- c_kind_params.f90
- c_kinds.c
- c_char_driver.c
- c_char_tests.f03
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: one.c
Type: text/x-c++src
Size: 2198 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070726/8134123e/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: two.f90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070726/8134123e/attachment.f90>
More information about the Fortran
mailing list