This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r183256 - in /branches/pph/gcc/cp: ChangeLog.pp...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2012 16:33:53 -0000
- Subject: r183256 - in /branches/pph/gcc/cp: ChangeLog.pp...
Author: dnovillo
Date: Tue Jan 17 16:33:52 2012
New Revision: 183256
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183256
Log:
My previous patch moved the in_memory marker to the wrong place.
We need to prevent a file from being re-read by an #include from one
of its included children images. This is common in system headers.
We mark the file as resident in-memory right before we start reading
its includes. Before, we were marking it when the file was initially
registered. This was causing us to completely ignore needed
PPH images.
* pph-core.c (pph_stream_register): Move in-memory marking...
* pph-in.c (pph_read_file_1): ... here.
Modified:
branches/pph/gcc/cp/ChangeLog.pph
branches/pph/gcc/cp/pph-core.c
branches/pph/gcc/cp/pph-in.c