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: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: dnovillo at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 03:27:18 -0700
- Subject: Re: Fix processing of ADDR_EXPR in get_expr_operands
- References: <10407300156.AA13423@vlsi1.ultra.nyu.edu>
On Thu, Jul 29, 2004 at 09:56:20PM -0400, Richard Kenner wrote:
> 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.
I *told* you. The variable is *local*, and thus TREE_INVARIANT
is the correct bit to set, not TREE_CONSTANT.
r~