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]

[tree-ssa] Java: Decls that alias?


In the Java byte compiler we can have temporaries that change name.
This is because all accesses to local variables are by stack slot
number, but debugging information may assign different variable names
to the same slot at different positions in the code.  However,
according to the semantics of the virual machine there is only the one
variable.

In the mainline compiler we handle this by sharing RTL between
multiple decls; this has exactly the effect we want.  But how is it
possible to do this in GIMPLE?  Is there a way to alias two local
variable declarations?

Andrew.


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