[PATCH] Add target hook in C front end
Joseph S. Myers
jsm28@cam.ac.uk
Mon Dec 17 15:01:00 GMT 2001
On 17 Dec 2001, Eric Christopher wrote:
> > Doing something maintainable, that works as present with a __SIZE_TYPE__
> > macro, is essentially straightforward, given the removal of the separate
> > cpp0 executable. Just add some calls to cpp_define, and remove all the
> > attempts to define __SIZE_TYPE__ in all the specs. Note that GCC's
> > <stddef.h> explicitly defines __SIZE_TYPE__ to a default if it isn't
> > already defined; there is quite likely to be third party GCC-specific code
> > that does this as well, expecting it to be a macro.
>
> Since we still have a cpp0 for now this solution won't work. Now, if I
Sometimes it may be best to leave solving a problem until other changes
have been made that facilitate it. I think this is such a case. The
relevant other changes are either making cpp0 be a special mode of cc1
(and preferably merging tradcpp into cc1 as well), or a specs redesign
that makes it easy for the driver and back end to come to the same
conclusion about the type of size_t.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list