------- Comment #2 from amylaar at gcc dot gnu dot org  2007-05-02 13:42 -------
(In reply to comment #1)

Actually, struct unnamed_section is not suitable for garbage collected memory.
The data member is skipped, and the callback member points to a function,
which can change position when address space randomization is in effect.

I think the best solution is not to garbage collect unnamed sections.
If precompiled headers are compatible, we should be using the same set of
unnamed
sections in the compilation that uses the header as in the compilation that
created the precompiled header.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31634

Reply via email to