This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Add target hook in C front end
On Sun, Dec 16, 2001 at 06:29:23PM -0800, Richard Henderson wrote:
> On Sun, Dec 16, 2001 at 02:06:35PM -0800, Zack Weinberg wrote:
> > The principle here is that, for a platform-independent bug, I ought to
> > be able to take source code preprocessed by a MIPS compiler, run it
> > through my x86 compiler, and still see the bug. Your change prevents
> > that.
> I don't agree -- that doesn't work now.
> Take an x86 .i file, get "unsigned int" and that will not
> work on alpha which uses "unsigned long". Especially for
> C++, where operator new must use size_t, and mixing int vs
> long is verboten.
It's true it doesn't work in a wide range of situations now, but
that's no reason to extend the range.