This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: TREE_UNCHANGING?
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
> On Wed, May 08, 2002 at 01:56:07PM +0100, Jason Merrill wrote:
>> It seems that setting TREE_CONSTANT on the INDIRECT_REF does what I want,
>> thanks to the check in set_mem_attributes; would it make sense to bless
>> this usage?
> No. I want to remove RTX_UNCHANGING_P altogether.
> You should be able to force-assign a unique alias set to a vtable though.
I don't think that would help; a call is considered to change arbitrary
memory. A unique alias set still conflicts with alias set 0.
Jason