This is the mail archive of the
mailing list for the GCC project.
Re: [patch] tree-ssa-ccp.c: Fold references intoconstantaggregates.
- From: Paul Schlie <schlie at comcast dot net>
- To: Kazu Hirata <kazu at cs dot umass dot edu>,<rth at redhat dot com>,<gcc-patches at gcc dot gnu dot org>,<dnovillo at redhat dot com>,<stevenb at suse dot de>
- Date: Sun, 08 May 2005 18:45:21 -0400
- Subject: 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?