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]

Re: Making more builtins fold-able, and handling side-effects in args


    Agreed, except I think a reading of the comments for COMPOUND_EXPR in
    tree.def says the reverse WRT which arg is ignored and which is
    retained during folding.

Sorry, I got the numbers backwards.  What I meant to say is that the
type of the operand that represents the result needs to be the same
as that of the COMPOUND_EXPR, but that the type of the operand that
es evaluated only for side effects does not matter.

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