This is the mail archive of the gcc@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: SSA usage question


On Mon, 2004-06-07 at 12:41, Richard Kenner wrote:

>     These things can change from reference to reference?  That is,
>     given the array 'a' above, will every reference to 'a' use a
>     potentially different 'x' and 'v'?
> 
> No.  They are the unchanging over the lifetime of an object.  If the
> type has placeholders, then it may be different between two objects of
> the same type, though.
>
OK, if the values are anything other than constants, then we need to go
out of our way to express them as IL statements.  I thought these values
were actual constants and were the same for every object of the same
type (like they are in C).

Having them change inside a type attribute in ways not obvious to the
optimizers is asking for trouble.


Diego.


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