This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add target hook in C front end


On Sun, Dec 16, 2001 at 01:21:19PM -0800, Eric Christopher wrote:
> The mips port currently needs to pass __SIZE_TYPE__ and __PTRDIFF_TYPE__
> to the preprocessor to make sure that the definitions of size_t and
> ptrdiff_t agree with the size given. This is currently done through spec
> files that are duplicated throughout the backend and usually only work
> for the multilibs that a particular header file was designed to support.
> (insert comment about herculean task of making sure updates work...)
> 
> This patch solves this problem by allowing C code to set the size of
> __SIZE_TYPE__ and __PTRDIFF_TYPE__ and setting SIZE_TYPE and
> PTRDIFF_TYPE to these values.

This patch breaks -save-temps.  We revert to the external preprocessor
for that mode.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]