This is the mail archive of the gcc-patches@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: RFA: tuples merge for GIMPLE_MODIFY_STMT


Aldy Hernandez wrote on 11/16/06 04:04:

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.

Actually, how about we rename PROTECTED_TREE_OPERAND as GENERIC_TREE_OPERAND? That is, after all, what the accessor does.

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.


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