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: [tree-ssa] tree-ssa vs. fold


    While (d) is certainly desirable, there is an even more
    short-term solution that would probably benefit mainline
    as well: a SAVE_EXPR shouldn't have been created for a
    simple non-volatile DECL.

I don't think that's right.  You could have an object whose size depends on
a non-volatile variable and then modify the variable before one use of
the size.  The SAVE_EXPR forces proper evaluation in that case.


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