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: Tree sharing issues...


On Wed, 2003-11-19 at 18:17, Jan Hubicka wrote:

> It pretty much match what you are mentioning.
> The array reference above is other stuff.  If you think it makes
> sense, I will add check for ARRAY_REF with all operands passing
> is_gimple_min_invariant.  DOes that sound plausible?
>
In general, we must not allow sharing of any expression that may contain
an operand inside.  I'd use the different get_expr_operands handlers as
a guide.  If a handler calls add_stmt_operand with one of its operands,
then that node must not be shared.


Diego.


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