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: [PATCH] Fix PR middle-end/23237


Daniel Berlin wrote:
On Fri, 2005-09-09 at 09:54 -0700, Josh Conner wrote:

As discussed in thread starting here:

http://gcc.gnu.org/ml/gcc/2005-08/msg00679.html

This patch stops the ipa-reference pass from marking a variable TREE_READONLY if the variable is in a named section (as it changes the section attributes, causing potential conflicts with other variables in the same named section).


I thought though that we decided it should always mark them
TREE_CONSTANT?

This was an attempt to implement the first step in rth's suggested approach:


"At minimum we have to change IPA to stop setting TREE_READONLY when DECL_SECTION_NAME is set"

- Josh


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