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: BIT_ANDTC_EXPR - kill it?


> what means the operation with tree code BIT_ANDTC_EXPR?
> I can't find a documentation about it.

In fold-const.c, I have found this:

    case BIT_ANDTC_EXPR:
      low = int1l & ~int2l, hi = int1h & ~int2h;
      break;

In ./gcc/cp/lex.c:
  operator_name_info [(int) BIT_ANDTC_EXPR].name = "&~";

As I expected, it seems to be X & ~Y.




What do you think about killing BIT_ANDTC_EXPR ?

There are only few uses of it, majority of them is in something like
this:
case BIT_AND_EXPR:
case BIT_ANDTC_EXPR:
case BIT_OR_EXPR:
  something;
  break;

Josef


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