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: [PATCH] Fix ACATS failures in GCC 3.4


    Here I don't see it anymore.  Hence the question: is it safe or not
    safe to strip these NOPs for MAX_EXPR, since you're saying that only
    the type of the MAX_EXPR is supposed to matter?

Define "strip".  If you mean in the tree, no, it's not: the types of
the operands of an arithmetic expression must *exactly* match that of
the expression itself.

If you mean in setting ARG0 and ARG1, then yes, it's safe to strip them
because those values aren't supposed to be put back into the tree without
being converted to the type of the tree.


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