This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix processing of ADDR_EXPR in get_expr_operands
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dnovillo at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jul 04 21:56:20 EDT
- Subject: 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.