PATCH to split up cpp_read_main_file

Per Bothner per@bothner.com
Wed Aug 6 21:51:00 GMT 2003


Andrew Pinski wrote:

> It was not working before his patch any way.
> It was broken by <http://gcc.gnu.org/ml/gcc-patches/2003-08/msg00081.html>.

Here is a test-case that might be easier (certainly faster)
than bootsrapping with --enable-intermodule.

Just do:
cc1 Csrc1.c Csrc2.c -o Ctest.s
gcc -o Ctest Ctest.s
./Ctest

This should work.  It doesn't with the current head, at least with my
(un-checked-in) patch.  (It is possible the fault is my patch, but I
think Zack's patch is more likely to blame.)

If it doesn't work, running gdb on cc1 should be relatively easy.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Chdr1.h
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030806/c5df8140/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Csrc1.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030806/c5df8140/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Csrc2.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030806/c5df8140/attachment-0001.c>


More information about the Gcc-patches mailing list