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 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.


r~


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