diff mbox

[pph] Detect state mutation in DECLs/TYPEs [5/8] (issue5178044)

Message ID 20111003152448.937471DA1C2@topo.tor.corp.google.com
State New
Headers show

Commit Message

Diego Novillo Oct. 3, 2011, 3:24 p.m. UTC
Fixlet to update documentation for pph_cache_insert_at.


Diego.


	* pph-streamer.c (pph_cache_insert_at): Fix documentation.
diff mbox

Patch

diff --git a/gcc/cp/pph-streamer.c b/gcc/cp/pph-streamer.c
index d0fac57..26bc6cd 100644
--- a/gcc/cp/pph-streamer.c
+++ b/gcc/cp/pph-streamer.c
@@ -402,11 +402,9 @@  pph_trace_bitpack (pph_stream *stream, struct bitpack_d *bp)
 }
 
 
-/* Insert DATA in CACHE at slot IX.  We support inserting the same
-   DATA at different locations of the array (FIXME pph, this happens
-   when reading builtins, which may have been converted into builtins
-   after they were read originally.  This should be detected and
-   converted into mutated references).  */
+/* Insert DATA in CACHE at slot IX.  As a restriction to prevent
+   stomping on cache entries, this will not allow inserting
+   into the same slot more than once.  */
 
 void
 pph_cache_insert_at (pph_cache *cache, void *data, unsigned ix)