This is the mail archive of the gcc-patches@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]

Re: fix 14804


Richard Henderson wrote:

The problem here is that we (on purpose) removed everything that would
have told varasm.c that the const object needs to live in writable memory.
The solution is to temporarily un-mark the object from being const; this
is the same as what we do for objects with constructors, so this seems
safe.

Ok?


A little uggy, but no more so than -- as you point out -- what was already there before.

OK, thanks!

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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