This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Change uint*_type_node definition to make_or_reuse_type
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Jun 2013 15:38:03 +0000
- Subject: Re: [PATCH] Change uint*_type_node definition to make_or_reuse_type
- References: <20130605122638 dot GA17512 at bart>
On Wed, 5 Jun 2013, Andreas Krebbel wrote:
> 2013-06-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
>
> * tree.c (build_common_tree_nodes): Create uint*_t type nodes with
> make_or_reuse_type.
I don't think either version is really what's wanted. Ideally these
should match stdint.h, and sometimes you may e.g. have both unsigned long
and unsigned long long as 64-bit types and need the stdint.h data to tell
which to use. (That is, eliminate the separation between uint32_type_node
and c_uint32_type_node, etc., with the existing c-common.c logic setting
up the latter being used to set up the former.)
We are, it appears, still missing stdint.h type information in GCC for
NetBSD, VxWorks, Symbian, LynxOS, QNX, Interix, TPF. Maybe we need to
issue a last call to maintainers caring about those targets to fill in
this information, and failing that deprecate them.
--
Joseph S. Myers
joseph@codesourcery.com