Patch to add builtin strcat/strncat/strspn/strcspn [TAKE 2]
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Fri Dec 1 18:30:00 GMT 2000
> From: Richard Henderson <rth@redhat.com>
>
> On Fri, Dec 01, 2000 at 05:02:40PM -0500, Kaveh R. Ghazi wrote:
> > + sizet_ftype_cstring_cstring
> > + = build_function_type (sizetype,
> > + tree_cons (NULL_TREE, const_string_type_node,
> > + tree_cons (NULL_TREE,
> > + const_string_type_node,
> > + endlink)));
>
> sizetype is associated with exceedingly special internal
> compiler widgetry. Use c_size_type_node instead.
> Otherwise ok.
> r~
Ok but... every single other builtin decl wanting a size_t uses
sizetype in c-common.c:c_common_nodes_and_builtins (including some
though sizetype_endlink.) c_size_type_node is in none of them.
Should I really switch, and if so, for the sake of consistency should
I change all the other uses in c-common.c to c_size_type_node?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-patches
mailing list