[PATCH] PR 78534 Change character length from int to size_t
Andre Vehreschild
vehre@gmx.de
Wed Dec 21 10:05:00 GMT 2016
Hi all,
so I have learned that proposing to write "speaking code" is not very well
taken.
Anyway, there is a patch (in two parts) hanging about changing the character
length from int to size_t. It looks ok to me, but I do not have the privilege
to ok it. Furthermore am I still not convinced that we can't do anything about
the failing testcase allocate_deferred_char_scalar_1. So how do we proceed?
- Andre
On Tue, 20 Dec 2016 17:08:54 +0100
Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Dec 20, 2016 at 05:04:54PM +0100, Andre Vehreschild wrote:
> > Well, then how about:
> >
> > #define gfc_size_t_zero_node build_int_cst (size_type_node, 0)
> >
> > We can't get any faster and for new and old gfortran-hackers one
> > identifier's meaning is faster to grasp than two's.
>
> Such macros can cause various maintenance issues, so I'm not in favor of
> that. But if you as fortran maintainers want it, I won't object strongly.
>
> Jakub
--
Andre Vehreschild * Email: vehre ad gmx dot de
More information about the Fortran
mailing list