Some more warning fixes
Andreas Jaeger
aj@suse.de
Sun May 15 12:34:00 GMT 2005
Steven Bosscher <stevenb@novell.com> writes:
> On Sunday 15 May 2005 13:15, Andreas Jaeger wrote:
>> * m4/transpose.m4, m4/matmul.m4: Fix pointer cast to avoid
>> warning.
>> * generated/transpose_c4.c, generated/transpose_c8.c,
>> generated/transpose_i4.c, generated/transpose_i8.c,
>> generated/matmul_c4.c, generated/matmul_c8.c,
>> generated/matmul_i4.c, generated/matmul_i8.c,
>> generated/matmul_r4.c, generated/matmul_r8.c: Regenerated.
>
>
> I'm not too happy about casts, but I don't see another way to fix
> it either. Maybe we need a new function internal to libgfortran
> (possibly inline) to compute the size without passing the entire
> descriptor (size0 only needs to know the rank and dimentions).
> What do others think?
>
> In the mean time this will do.
eoshift has the same problem with the casts. Ok to commit these as well?
>
>> * io/write.c (nml_write_obj): Fix 64-bit problem.
>>
>> * io/list_read.c (nml_get_obj_data): Add missing braces around
>> initializer to avoid warnings.
>>
>> * intrinsics/etime.c (etime_sub): Remove unused variable.
>
> These are all obviously OK.
>
> Gr.
> Steven
>
>
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050515/496a0630/attachment.sig>
More information about the Fortran
mailing list