This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add target hook in C front end
> 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.
>
Aaah. I've not thought of that (or ever used it for that way as the case
may be - learn something new every day).
> Joseph Myers has proposed that -save-temps cause cc1 to write out an
> .i file as a side effect. If that change were made, then a patch
> along these lines would be fine; until then, handling of __SIZE_TYPE__
> must remain in the specs.
>
I don't think you see what the problem is, as I was mentioning to Neil,
take a look at gcc/config/mips/isa3264.h for the handling of this. That
spec file is absolutely unmaintainable and doesn't work either. :) This
makes multilibs that set pointer size untenable. I'm willing to look at
making cc1 spit out a .i file, but it seems that it makes more sense to
do this than not.
-eric
--
Fridays are not "pants optional"