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] tree-ssa-ccp.c: Fold references intoconstantaggregates.


> Constant arrays from the C++ front end don't have TREE_READONLY set.
> Since I don't have know any other language independent way of checking
> whether an array is declared with const or not, I just left the issue
> alone for now.

Just to double check my understanding: is it true that all and only memory
references to static-const/literal-values should be marked and preserved as
READONLY at the tree/rtx expression level regardless of source language?




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