This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]