This is the mail archive of the
mailing list for the GCC project.
Re: RFA: tuples merge for GIMPLE_MODIFY_STMT
Aldy Hernandez wrote on 11/16/06 04:04:
Actually, how about we rename PROTECTED_TREE_OPERAND as
GENERIC_TREE_OPERAND? That is, after all, what the accessor does.
If you are still unconvinced, I am willing to get rid of
GIMPLE_MODIFY_OPERAND in favor of just using one all knowing macro:
TREE_OPERAND. It would certainly make my life a LOT easier, at the expense
of one more conditional in the macro. Perhaps this is the best approach:
less changes, one more conditional, less work, more beer.
In the future, we may want to poison GENERIC_TREE_OPERAND after we get
into the middle-end. Though that would mean not sharing any code with
the generic/FE side of the compiler (e.g. fold), so I'm not sure that
will ever happen.