This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC]: Add support for pragma pointer_size
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Mar 2012 17:34:20 +0000 (UTC)
- Subject: Re: [RFC]: Add support for pragma pointer_size
- References: <E09269D8-43D5-4D3B-88E2-AE4EC75FDA1A@adacore.com>
On Tue, 6 Mar 2012, Tristan Gingold wrote:
> The patch is simple: the C front-end will now calls c_build_pointer_type
> (instead of build_pointer_type), which in turn calls
> build_pointer_type_for_mode using the right mode.
There seem to be quite a lot of build_pointer_type calls in the C front
end (and in c-common.c) that you haven't changed. Could you explain the
rule for when a call should or should not be changed, and how it applies
to all these calls?
--
Joseph S. Myers
joseph@codesourcery.com