[PATCH] Mark static const strings as read-only.

Eric Botcazou ebotcazou@adacore.com
Mon Oct 10 16:06:00 GMT 2011


> So, the patch for build_constant_desc does not have the desired effect.

OK, too bad that we need to play this back-and-forth game with MEMs.  So the 
original patch is OK (with TREE_READONLY (base) on the next line to mimic what 
is done just above and without the gcc/ prefix in the ChangeLog).  If you have 
some available cycles, you can test and install the build_constant_desc change 
in the same commit, otherwise I'll do it myself.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list