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


    As discussed yesterday, is_gimple_min_invariant is the correct test for
    checking constness in an ADDR_EXPR node.

I still haven't seen an answer to why we're not marking addresses of
volatile as constant, which I think is the real bug here.

It's possible the bug my original change fixed is no longer relevant, but
if this breaks something, I'll let you know.


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