Re: TREE_READONLY vs TREE_CONSTANT

2005-08-24 Thread Josh Conner
On Aug 24, 2005, at 12:33 PM, Richard Henderson wrote: On Wed, Aug 24, 2005 at 11:10:38AM -0700, Josh Conner wrote: Can someone provide a bit of insight here - what is the difference between TREE_READONLY and TREE_CONSTANT (and why is TREE_READONLY the one that ipa-reference should be setting

Re: TREE_READONLY vs TREE_CONSTANT

2005-08-24 Thread Richard Henderson
On Wed, Aug 24, 2005 at 11:10:38AM -0700, Josh Conner wrote: > Can someone provide a bit of insight here - what is the difference > between TREE_READONLY and TREE_CONSTANT (and why is TREE_READONLY the > one that ipa-reference should be setting)? It depends on what property IPA is computing.

TREE_READONLY vs TREE_CONSTANT

2005-08-24 Thread Josh Conner
In looking at PR23237, I ran into a bit of confusion over the difference between TREE_READONLY and TREE_CONSTANT. Andrew Pinski indicated in PR logs that I am misunderstanding their uses, so rather than bogging down the PR logs trying to clear up my confusion (which isn't really fair to An