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: Fix processing of ADDR_EXPR in get_expr_operands


    I *told* you.  The variable is *local*, and thus TREE_INVARIANT
    is the correct bit to set, not TREE_CONSTANT.

Oh, sorry.  I've never heard of a use for a volatile *local* variable, so
I just assumed it was global and hence that TREE_CONSTANT would apply.

I'll do a bootstrap soon and see if the motivation for using TREE_CONSTANT
instead of TREE_INVARIANT there is still present.


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